Hi Basically, in Internet Explorer pages of my site are not centered. Site is www. countryonsale .info For example, click on News and you'll see the page on the left. On the other hand, the home page and admin pages (admin.php) are both in the center. In Firefox there isn't a problem. I'm sure its a pretty easy fix, so can anyone help?! Thanks
Or try <div align="center"> CONTENT </div> Putting a CSS stylesheet in just complicates things overly, I find.
<div align="center"> won't work lol. Where are you pulling these ideas from? And no, CSS doesn't complicate things, it simplifies things "margin:0 auto" is the easiest and best solution.
align = center will work, I got that from dreamweaver and it sure as hell worked there it means adding another file to the mix, which, depending on the level of experience, could make it more work.
Thanks for all the help. It seems though the problem had been corrected in a later version of the script I had, I just hadn't updated it at the .info site (countryonsale .com/demo) Thanks again!
Maybe it works (who knows... but certainly it won't work good in all browsers) but it is totaly silly solution. And Dreamweaver createst very stupid and bloated as hell code. Believe me. I know what I'm talking about. Moreover benefits of doing it in stylesheet are endless... End of thread.
And I don't know? Nah, I've only spent one year designing DW8 produces clean, well commented code, which is why.. it's so popular. And it works on.. wait for it, every browser, which is why it validates - Stylesheets are great, but not if you're only centering a site. They are a waste of time for that. A simple function, no. A proper, nice website, yes. Furthermore, if it was a "silly solution" then why does the single most popular paid code program use it, as well as one of the most popular free ones (NVU) ? Now it's the end of the thread.
Great. I've spent few times more than you But that's irrelevant anyways. You got to be kidding me... The code DW produces is bloated as hell. Maybe it works but when you code the same thing manually, you find out that your code is half that big, loads faster etc. Validation doesn't mean that it will display correctly. Most popular browser (IE) totally ignores principles of standar semantic html. It's 2008. How can you make a good looking and flexible website without stylesheets? And the work needed to modify anything will be deadly. With stylesheet just change the CSS and you're done. Professional and experienced coders code manually. You should ask them why
I don't code professionally, but I use dreamweaver, and my websites are pretty damned fast, thanks. And if it validates, it's correct coding language, so decent browsers *cough* not IE *cough* will load it nicely, exactly as they want it . And if you read what was said, he just needs to center it, or he did need to. No flexibility crap, so why bother coding in a stylesheet, especially if you are inexperienced enough to ask for help on centering something? Just provide teh simple solution, not the one that does all the stuff it's not asked to do. I am an experienced coder, but Dreamweaver still does the job for me, although i use the coding window more than the other section. I learned "correct strict" html, and as far as I know, that fits in. If it validates, it's fine. If it then doesn't work, it's because the browser is crappy. Simple.
You won't see big difference in speed when your site is small. But all large websites are usually coded manually. Because there you'd see big difference in speed Anyways, we agree to disagree but that's fine. Everyone has his own opinion. I think the thread started has already got few solutions for his problem. It's on him which he'll choose.