![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi On this page http://emc.ianhobson.co.uk/menu/Extras.htm the first h1 title ("Extras") is shown about two character positions to the right of the place the later h1 titles (Snacks, Sweets, Drinks) appear. I think the selectors for the h1 titles are all the same. I intended the styles starting at line 238 of the siteStyle.css file should apply. I need the the first h1 title places centrally, like the others. Has anyone any idea why this is happening, and what to do about it? Thanks. Ian p.s. It is wrong is Firefox 2 and IE 6, so I suspect I have somehow messed up the CSS. |
#3
| |||
| |||
|
|
Hi On this page http://emc.ianhobson.co.uk/menu/Extras.htm the first h1 title ("Extras") is shown about two character positions to the right of the place the later h1 titles (Snacks, Sweets, Drinks) appear. I think the selectors for the h1 titles are all the same. I intended the styles starting at line 238 of the siteStyle.css file should apply. I need the the first h1 title places centrally, like the others. Has anyone any idea why this is happening, and what to do about it? Thanks. Ian p.s. It is wrong is Firefox 2 and IE 6, so I suspect I have somehow messed up the CSS. |
#4
| |||
| |||
|
|
I don't understand why you have so many divs, though. For example, why do this? div class="centered"><h1>Heading</h1></div If you want all your <h1> elements to be centred, define them to be so in your css file. That way, you eliminate a whole bunch of superfluous html, which will make debugging your page a bit easier. I'm sure there are other redundancies in the page that could safely be removed, too... |
#5
| |||
| |||
|
|
Well I can say is your page is just tag soup... your markup h6>£1.50p</h6 |
![]() |
| Thread Tools | |
| Display Modes | |
| |