Hey, I'm trying to use a background tiled all the way to the bottom to create an effect of a white background behind my text. It's working OK, but the one problem is that for some unknown reason it is centreing itself 1pixel to the left of the header (which is the same width) on Internet Explorer. It seems to work fine on Firefox (could someone confirm?) so I am very confused about what to do. If someone could help that would be awesome. The code I use for the white background tiled down the page is: body { margin: 0 auto; padding: 0; font: 62.5%/200% Arial, Helvetica, sans-serif; text-align: center; background: #67A7CA url(http://arsenalfcblog.com/wp-content/uploads/blogmiddle.jpg) repeat-y 50% 0; } Cheers.
It is difficult to say anything regarding to this code, but you can try: background: #67A7CA url(http://arsenalfcblog.com/wp-content/...blogmiddle.jpg) repeat-y center top; Also you can try to change your layout with for +-1 pixel. looks like this is IE rounding problem. PS. Confirm that FF displays fine.
Tried center top, it does the same thing. FF definitely displays OK. If it is an IE rounding problem then I guess there's not much I can do. Maybe widen the header and the white area and hope for the best? How could I change the layou +1 or -1 pixel?? Thanks for your help.
Try to create internal layer with fixed width: <body> <div class="layout">....</div> </body> .layout { width: 800px; /* this can be adjusted */ margin: 0 auto; background ....... }
Can you give me some details about this? It seemed to be working fine to me? What needs to be redone? Thanks for your help.
It says that in the URL - It's a turdpress template, of COURSE it's badly coded. The number of remotely well coded wordpress themes I've seen can be counted on two fingers. Well, first the page header, currently done via a DIV and a class should probably be a HEADER, as in the tag... specifically an H1... each of the topic headers should be *** SHOCK *** a header, probably h3's since "Arsenal news, opinions and discussion." should be an h2. If you are going to make your news items a list, they should be a SINGLE list, not a list for each item - at which point you shoudn't be using a list. (here's a tip, if there's only one <li></li> pairing inside your UL, you're doing it wrong) - you have paragraph tags around elements that are not paragraphs, multiple excess container DIV's and classes that serve no purpose... and to top it off 315 validation errors.
As someone who has very limited knowledge of how to edit these problems, what is the best way to get around to fixing them?
I've coded one in valid xHTML 1.0 Strict, fully cross browser compliant and looks nice to boot. Of course, I hate coding for Wordpress, and prefer t use sNews, which is just adding a line of PHP where you want things to appear. Anyway, </randomness>
That sounds a little more positive. Can I have some feedback on the header - is it still 1 pixel off?? Also, another CSS question I may as well ask while I'm here - how can I put an Adsense Ad just after the first excerpt on my Index page? Or indeed after the first and second, if I prefer? Anyone know the code?