This is a discussion on "CSS not affecting document properly, please help!" within the Web Page Design section. This forum, and the thread "CSS not affecting document properly, please help! are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
CSS not affecting document properly, please help!
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
CSS not affecting document properly, please help!
Hi, I have css affecting
and <hr>'s in my webpage document. It works correctly in one of my <div>'s, but not in another one. Any one have any ideas why? Here's my code: the css titled # content p and # content hr is my problem. It works in <div id="content">, but does not work in <div id="bottom"> my text is supposed to be padded 15px, and my <hr> is only supposed to be 480px, but they are not responding to this css. Any ideas? Thanks! Code here:- http://pastebin.webforumz.com//view.php?id=23 [edited by rob : Excessive code paste] |
|
|
|
#2
|
||||
|
||||
|
Hi Nate....
Firstly welcome to the forums.... I edited your above post (not your fault.... just a new feature we're introducing to combat really long chunks of pasted code) I'll look into your issue.
__________________
Click the 'Thanks!' button if this post has helped you Rob - Webforumz Founder
Last Blog Entry: Creative Labs threaten developer over home made drivers.... (Apr 1st, 2008)
|
|
#3
|
|||
|
|||
|
Thanks!
Thanks Rob!
Sorry for the huge code paste! |
|
#4
|
||||
|
||||
|
try setting #content and #bottom position to relative.....
postition:relative; Not sure if this will help.
__________________
Click the 'Thanks!' button if this post has helped you Rob - Webforumz Founder
Last Blog Entry: Creative Labs threaten developer over home made drivers.... (Apr 1st, 2008)
|
|
#5
|
|||
|
|||
|
They already are set as relative........
any other ideas? Thanks! |
|
#6
|
||||
|
||||
|
firstly, can you try targeting the HR element directly with an ID?
Also, do you have a url for me to see this working?
__________________
Click the 'Thanks!' button if this post has helped you Rob - Webforumz Founder
Last Blog Entry: Creative Labs threaten developer over home made drivers.... (Apr 1st, 2008)
|
|
#7
|
|||
|
|||
|
#8
|
|||
|
|||
|
You haven't told it what to do with a HR or text inside a #bottom e.g.
instead of:
|
|
#9
|
|||
|
|||
|
It's always the obvious!
Right in front of my nose! Thanks a million. I was sitting there staring right at it.
Cheers! |
|
#10
|
|||
|
|||
|
no probs!
|
![]() |
| Tags |
| css, affecting, document, properly, help |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [SOLVED] CSS role over affecting HREF, links | Joolsd186 | Web Page Design | 10 | Jan 9th, 2008 00:26 |
| [SOLVED] CSS wrapper affecting body | Joolsd186 | Web Page Design | 7 | Dec 31st, 2007 19:11 |
| Background Opacity without affecting Text | ChrisTheSoul | Web Page Design | 11 | Aug 31st, 2007 14:11 |
| document.getElementById and document.getElementByName is not working in FF | dhineraj | JavaScript Forum | 3 | Jul 26th, 2007 20:23 |
| Can't add a div box properly to my page. | Moonlilly | Starting Out | 1 | Feb 26th, 2007 20:38 |