This is a discussion on "Pictures with underlying text" within the Web Page Design section. This forum, and the thread "Pictures with underlying text are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Pictures with underlying text
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
Pictures with underlying text
Greetings all.
I have been using CSS for a few weeks now so please forgive me if i am doing something very silly. I have been trawling the internet to try and find a solution to creating an INLINE series of pictures with underlying text. I have tried Unordered lists and Detailed lists both seem to fail me. Here is an example or how far i have got and a sample of the appropriate CSS code used. http://www.xyis.net/kick/locations.html As you can see it is quite close but the text is on the image. Any kind of floating seems to cause me big problems even inside the span which i thought should act as a container but fails.
|
|
|
|
#2
|
|||
|
|||
|
Re: Pictures with underlying text
Here is the answer...
Starting with HTML
At this point you'll see I put three across. |
|
#3
|
|||
|
|||
|
Re: Pictures with underlying text
So basically abandon UL's and use independant DIV's?
I didn't think of that, for some reason i thought lots of DIV's was a bad idea and a UL would have been better. Thanks dude, for the help. |
|
#4
|
|||
|
|||
|
Re: Pictures with underlying text
You won't be able to center the text unless you use a br and spaces... so by doing it with div classes and p's you can align it perfectly.
Nesting divs is really ok. You're welcome! |
|
#5
|
|||
|
|||
|
Re: Pictures with underlying text
Sorry to bother you again but do you have any idea why this is not working, in dreamweaver the borders show but in IE and Firefox theres nothing:
|
![]() |
| Tags |
| css, img, inline, text |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Pictures | VanessaJW | Webforumz Cafe | 36 | May 22nd, 2007 16:15 |
| php uploading pictures | Accurax | PHP Forum | 16 | Dec 18th, 2006 11:20 |
| Resizing Pictures | Accurax | Web Page Design | 9 | Dec 14th, 2006 18:05 |
| gap between pictures | maksinx | Graphics and 3D | 9 | Aug 15th, 2006 17:19 |
| Postin Pictures | franknu | PHP Forum | 5 | Jun 24th, 2006 15:51 |