This is a discussion on "Converting this to css....." within the Web Page Design section. This forum, and the thread "Converting this to css..... are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Converting this to css.....
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
Converting this to css.....
Hey...
This is probably the same situation like all my other questions.. So i have a plan to so people can choose there style sheet =D But to do this, i need to convert these images into css.. I have done most of it already, but image wont display for some stupid reason.. Here is the html i need in css:
I need it in pure css, so im just left with <div id="example" class="example"> I have done this, and it just wont work =[
I know its going to be a stupid mistake like the last few times.. but please tell me |
|
|
|
#2
|
|||
|
|||
|
Re: Converting this to css.....
you wrote example as a class. Remove id="example" code and that will probably work.
Last Blog Entry: Disaster! (Aug 23rd, 2008)
|
|
#3
|
|||
|
|||
|
Re: Converting this to css.....
Hey,
You havent indicated whether there is going to be any content in the div, but the background image declared in the css will not count as content for the div. You will need to assign a width and height for the div if you need to display the entire image. |
|
#4
|
||||
|
||||
|
Re: Converting this to css.....
As kudos says, put in the height and width of the div.
__________________
Jack Franklin - Webforumz Moderator (x)HTML | CSS | PHP | MySQL | JQuery (Javascript) Contact: My Blog | Twitter | Delicious Want Lessons? PM me. If you think I've helped, please press the 'Thanks' Button.
Last Blog Entry: A Week with VBulletin (Aug 28th, 2008)
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Converting UTF-8 characters to ISO | darkling235 | JavaScript Forum | 2 | Mar 23rd, 2008 22:40 |
| converting an swf into an fla | danny322 | Flash & Multimedia Forum | 5 | Feb 2nd, 2008 08:32 |
| converting to css | sliz | Web Page Design | 5 | Aug 28th, 2007 14:30 |
| Converting Time | Michaeln | Databases | 1 | Jun 3rd, 2007 13:34 |
| Converting JPEG to gif/bmp | lalmm | PHP Forum | 2 | May 7th, 2007 17:45 |