This is a discussion on "Strange gap on left of H2 tag" within the Web Page Design section. This forum, and the thread "Strange gap on left of H2 tag are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Strange gap on left of H2 tag
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
im still relatively new to css and wondering if anyone could help me.
i'm trying to get a title on top of a list but im having little joy. please see the below code and give me soem guidance
|
|
#2
|
|||
|
|||
|
Re: Strange gap on left of H2 tag
Just change your html to this:
|
|
#3
|
|||
|
|||
|
Re: Strange gap on left of H2 tag
I was hoping that the h2 tag would appear as part of the block, with a background colour of the same width as the list. I do not want this to be within the <li></li> tags, but as a h2 tag above it. Can you think of a way I can achieve this?
|
|
#4
|
|||
|
|||
|
Re: Strange gap on left of H2 tag
Do you have a link to the site or a screenshot of what you are getting now?
Pete. |
|
#5
|
|||
|
|||
|
Re: Strange gap on left of H2 tag
this only seems to work in IE. im new to css so im going to have to work at this for firefox etc. if you look at the link below in internet explorer you can see what i am trying to do. i want the header to be the width of the link list.
http://www.molinsitcm.com/webforumzdemo/test.asp |
![]() |
| Tags |
| h2 tag |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How can I add in a 3rd column in on the right like the one on the left ? | nizmotine | Web Page Design | 7 | Aug 13th, 2007 13:28 |
| strange icon in top left corner | algoodbody | Starting Out | 4 | Jul 10th, 2007 18:48 |
| Possible Strange Question | crewdesign | PHP Forum | 5 | May 3rd, 2007 19:56 |
| Everything to the left HELP needed. | TheWinnersRow | Starting Out | 2 | Mar 6th, 2007 13:25 |
| <hr /> and clear:left | Krakatoa | Web Page Design | 5 | Dec 22nd, 2005 12:34 |