Reply LinkBack Thread Tools Search this Thread
Old 17-06-2007, 10:18   #1 (permalink)
devGOD
Registered User
 
Join Date: Sep 2005
Posts: 56
Css help need for changing img box to code

Hi, can someone help me with changing these sets of image boxes into css.

set 1: five boxes in a row same distance apart with the brownish color being the background like this. [brown 1-2px [pic insert] 1-2px brown]

set 2: single cream color box with border. [border [pic insert] border] cream color is the background, no space before border and pic insert

thanks in advance


Code:
http://pspdump.com/boxes.jpg
  Reply With Quote
Old 18-06-2007, 00:49   #2 (permalink)
herkalees
Semantics, yay.
 
herkalees's Avatar
 
Join Date: Nov 2005
Location: Salem, Massachusetts
Posts: 1,088
For the five, I'd simply do something like this:

HTML:
HTML Code:
<ul id="poopSmith"> <li></li> <li></li> <li></li> <li></li> <li></li> </ul>

CSS:
Code:
#poopSmith li { background-color: brown; width: 80px; height: 60px; margin: 0 1px; float: left; }

and for the single box:

HTML:
HTML Code:
<span id="strongSad"></span>

CSS:
Code:
#strongSad { background-color: beige; border: 1px solid brown; width: 80px; height: 60px; }

...of course, change the ID names to anything you desire...
  Reply With Quote
Old 18-06-2007, 04:09   #3 (permalink)
devGOD
Registered User
 
Join Date: Sep 2005
Posts: 56
thanks =)
  Reply With Quote
Old 25-06-2007, 19:39   #4 (permalink)
resten
Web Designing Noob
 
Join Date: Jun 2007
Location: Canada
Posts: 21
wow kinda cool, thanks
  Reply With Quote
Old 25-06-2007, 20:51   #5 (permalink)
herkalees
Semantics, yay.
 
herkalees's Avatar
 
Join Date: Nov 2005
Location: Salem, Massachusetts
Posts: 1,088
It's simple code my boys.
__________________
  Reply With Quote
Old 25-06-2007, 21:59   #6 (permalink)
pgo
i'm done, son
 
Join Date: Jan 2005
Posts: 12,262
Don't be modest. You're a genius.
  Reply With Quote
Old 26-06-2007, 08:38   #7 (permalink)
herkalees
Semantics, yay.
 
herkalees's Avatar
 
Join Date: Nov 2005
Location: Salem, Massachusetts
Posts: 1,088
Pfff
__________________
  Reply With Quote
Old 24-07-2007, 15:10   #8 (permalink)
devGOD
Registered User
 
Join Date: Sep 2005
Posts: 56
hi i'm using the coding on another section of the community site and firefox is putting the bullet marks for some reason. it works fine on another page same coding.

  Reply With Quote
Old 24-07-2007, 15:14   #9 (permalink)
lmclaney
Senior Member
 
lmclaney's Avatar
 
Join Date: Mar 2007
Location: Oxford
Posts: 427
add this to your css for the list:

list-style:none;
__________________
Please can somebody change my username?
  Reply With Quote
Old 24-07-2007, 15:54   #10 (permalink)
devGOD
Registered User
 
Join Date: Sep 2005
Posts: 56
Quote:
Originally Posted by lmclaney
add this to your css for the list:

list-style:none;


SWEET!... you rock. thanks =)
  Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Contact Us - Web Design Forums - Archive - Top
Search Engine Optimization by vBSEO 3.0.0 RC8