css problems with left col/menu

Reply

Join Date: Nov 2004
Posts: 257
Reputation: sam1 is an unknown quantity at this point 
Solved Threads: 1
sam1's Avatar
sam1 sam1 is offline Offline
Posting Whiz in Training

css problems with left col/menu

 
0
  #1
Feb 25th, 2009
hi,

I have this css code
HTML and CSS Syntax (Toggle Plain Text)
  1. #leftcol {
  2. position:relative;
  3. top:-10px;
  4. left:-10px;
  5. float:left;
  6. width:220px;
  7. voice-family: "\"}\"";
  8. voice-family:inherit;
  9. width:200px;
  10. margin:0 0 -10px 0;
  11. padding:10px;
  12. background:#FFFFFF;
  13. z-index:100;
  14. }
  15. #rightcol {
  16. position:relative;
  17. top:-10px;
  18. right:-10px;
  19. float:right;
  20. width:220px;
  21. voice-family: "\"}\"";
  22. voice-family:inherit;
  23. width:200px;
  24. margin:0 0 -10px 0;
  25. padding:10px;
  26. background:#FFFFFF;
  27. z-index:99;
  28. }
  29. #centercol {
  30. position:relative;
  31. padding:0 240px;
  32. }


basically they are all aligned...

i want the space between left menu/col and centercol to be less. but it is giving me headache. i tried padding-right.

but it doesnt work help please
Last edited by sam1; Feb 25th, 2009 at 1:27 pm.
Reply With Quote Quick reply to this message  
Join Date: Feb 2009
Posts: 5
Reputation: Sappster is an unknown quantity at this point 
Solved Threads: 0
Sappster Sappster is offline Offline
Newbie Poster

Re: css problems with left col/menu

 
0
  #2
Feb 27th, 2009
Perhaps adjusting the margin attribute could help, for example if your left column had something like "margin-right: 10px;"
Reply With Quote Quick reply to this message  
Join Date: Jan 2007
Posts: 3,210
Reputation: MidiMagic has a spectacular aura about MidiMagic has a spectacular aura about 
Solved Threads: 164
MidiMagic's Avatar
MidiMagic MidiMagic is offline Offline
Nearly a Senior Poster

Re: css problems with left col/menu

 
0
  #3
Feb 28th, 2009
Negative margin values are nonstandard, and can fail.

The capital letters in the color definition may be causing Firefox to throw out the style.
Daylight-saving time uses more gasoline
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the HTML and CSS Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC