This is a discussion on "weirdest problem with a definition list" within the Web Page Design section. This forum, and the thread "weirdest problem with a definition list are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
weirdest problem with a definition list
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
weirdest problem with a definition list
Hello.
I'm new to the forum but relatively used to CSS, so it's really bumming me out that I can't get a clue on what's wrong with this: I tried building an events calendar using a definition list, and I need to use a corresponding image to each event. Since I'm not the one who's going to update the site after it's been delivered, and I don't know if whoever's in charge has the slightest knowledge of css, I thought it was best to link the images directly from the html markup, as a list item, so it'd be safer for the general layout when updated. Here's the html markup for it:
I'm pretty content with that, and I didn't even try styling the list's layout. But when i first checked it with the css on, that's what I got: The images totally overlap everything, and the images only. The only style I applied was a top margin, and that was for the entire list. I lost almost an entire day of work looking for the issue; looked through parent divs, concurrent rules previously stated, the whole thing; but could not find anything wrong with both the css and the html, and only made it worse, if that's possible, when trying to fix it. So, if anyone could help me, I'd really appreciate it. Here's the page http://magasin.letzebuerg.org/crmm/eventos.html Here's the css http://magasin.letzebuerg.org/crmm/css/css.css Thanks. [edit: typos] Last edited by resplence; Dec 7th, 2005 at 19:15. |
|
|
|
||||
|
Re: weirdest problem with a definition list
Oooooo I want to figure this out, but I'm off to dinner with my girl. I'll be back later to take a stab at it...
|
|
||||
|
Re: weirdest problem with a definition list
First, you have two code errors:
1. The two images in question aren't closed at all:
#conteudo img { margin-top: -150px; margin-right: 5px; float: right; } So, remove that, hooray! |
|
|||
|
Re: weirdest problem with a definition list
Wow, thank you! It's true that if you spend too much time lookin through a code it'll start looking all the same. I looked all over for some selector applied to an img tag and totally missed that.
I had set that selector temporarily to check some positioning in the index and forgot erasing it later. Amazing the time I lost because of something insignificant like that. Lazy coding anyway! Thank you one more time |
![]() |
| Tags |
| weirdest, problem, definition, list |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| First image problem and inline list problem | konnor5092 | Web Page Design | 8 | Dec 1st, 2007 09:08 |
| Google analytics - definition? | Cratima | Search Engine Optimization (SEO) | 2 | Nov 22nd, 2007 13:29 |
| unordered list problem in FF | alexgeek | Web Page Design | 4 | Sep 10th, 2007 15:26 |
| Link list problem in IE | clickedon | Web Page Design | 5 | Aug 18th, 2006 15:31 |
| CSS Unordered List Problem | relph2 | Web Page Design | 3 | Jan 7th, 2006 18:14 |