Forum Replies Created

Viewing 15 replies - 391 through 405 (of 1,078 total)
  • True. But then you’d run into people who didn’t want that to happen automatically.

    Look in your styles.css and update that. If you want images to have a certain spacing around them automatically, add this:

    img {padding:5px}

    That will give you a five-pixel padding on *every* side of every image. Automatically.

    If you want padding just on one side, or on the right or left side depending on whether the image is on the left or right, then you have to do more.

    Really, we all want automatic. It’s just that we don’t all want the same things to be automatic. 🙂

    Really, if you can’t connect to the database, it’s because you’ve put the wrong information in the wp-config.php file. It doesn’t matter *what* directory you install WordPress in; wrong information is wrong information.

    Unless, of course, your tech support didn’t set up the database until after you talked to them. It could happen.

    Well, you could always insert the image, then write the CSS into the code.

    As well, I believe there are some default styles in style.css which deal with centering, left-aligning, etc. You could update those (or add new ones called .imgleft or something of that nature). For instance:

    In style.css:
    .imgleft {float:left; margin-right:5px; margin-bottom:5px}

    In post:
    <img src=”some.jpg” height=”X” width=”X” class=”imgleft” alt=”description”>

    That would be the most streamlined method I can think of today. That is, you’d need to edit in the coding window in order to apply the class to the image, but that’s the way it goes if you want to get a little fancy.

    The only reason I know of that this happens is that:

    1) wrong database name
    2) wrong username
    3) wrong password
    4) wrong host name

    The host name would either be “localhost” or yourdomainname.com (technically speaking, not the URL, which would start with “http” — although I know what you meant, drmike).

    If whatever you put into the wp-config.php file doesn’t work, and you’ve tried the above, we can’t really guess any further — you need to contact your web host to ascertain the correct information.

    Forum: Themes and Templates
    In reply to: Sidebar Issues

    Actually, I test in Opera and Firefox first (to ensure the code is correct), and then deal with IE.

    But that’s just my preference … I’d rather tweak correct code for IE than create incorrect code that I must then fix for browsers that display more standardly.

    Well (and I’m addressing this to both of you), with all due respect, you can keep saying that it’s invisible, or you can learn *why* that is.

    First, it’s not invisible; your site is in Google.
    Search for site:yourdomainname.com

    You need to ensure that your page titles are different from each other, and are not just URLs (e.g., http://www.whatever.com) or your domain name.

    You might also look around to see what plugins you can find to add a meta description to your pages.

    Lastly, you need to ensure that search engines cannot reach your website by both http://www.yourdomain.com and yourdomain.com — that’s what the mod_rewrite is for.

    Find out whether you have the correct:

    – username
    – password
    – hostname (“localhost” or your domain name)
    – database name

    If you’re not sure, contact your web host.

    These go in the wp-config.php file.

    For instance (and I haven’t looked at your CSS), you could try adding padding and the grey line to your sidebars, and slimmed the center column (that is, don’t give it margins), and see what happens.

    In IE6, the left and right sidebars (columns) are in their proper places below the header, but the middle column is *below* the two sidebars.

    This often happens in IE if the column container has too much side margins — IE tends to do weird things with margins, and so the column won’t fit into the space it’s been assigned because IE says it’s larger than what you specified.

    For this reason, I tend not to give containers (for example, divs) left/right margins if possible, but only padding.

    You may have to go through the wonderful experience of learning how to deal with margins and IE. Otherwise, I’d put any margins on the sidebars rather than on the middle column.

    … I hope that was intelligible. It’s been a l-o-n-g day.

    Thanks for the information, paolino. I’ll check it out. (And sorry for the delay in responding.)

    Yes. Use a search engine (Google, Yahoo, etc.) to search for these words (without the quotes):

    “.htaccess” “mod_rewrite” “redirect”

    Cute. Must have been fun to do.

    You’d have to point all the domains at the blog.

    That said, you’d be better off having one domain as the “main” one, and then redirecting all the others to the main domain.

    I think you’d just copy the comment tags from single.php to index.php.

    Forum: Themes and Templates
    In reply to: Sidebar Issues

    Is it actually set to float:right in your CSS?

    (This is where it gets fun with IE.)

Viewing 15 replies - 391 through 405 (of 1,078 total)