| | |
Shadow / background
Please support our HTML and CSS advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Thread Solved |
•
•
Join Date: Jun 2009
Posts: 46
Reputation:
Solved Threads: 5
0
#11 Oct 17th, 2009
Aww... the joy of Dreamweaver generated code. I'm not suprised your having issues with all those tables!
Hmm... well, we'll start with the easier of you problems. Obviously I don't know the dimensions of the main.jpg, but I suspect that the reason why it is only showing half way down the page is because it is set to only repeat on x - only repeating horizontally. Change this to just repeat, so that it repeats both horizontally (x) and vertically (y).
With the shadow problem, it would help if I knew what sort of content was in those table cells, because currently it doesn't really mean anything...
I don't know how far along you are with this, but if you must use dreamweaver/tables, try this:
Obviously I don't know the demands of your layout, so I've simplified it A LOT, so hopefully you can start to see what's going on and what it should be doing.
Hope this helps you out.
Laura
Hmm... well, we'll start with the easier of you problems. Obviously I don't know the dimensions of the main.jpg, but I suspect that the reason why it is only showing half way down the page is because it is set to only repeat on x - only repeating horizontally. Change this to just repeat, so that it repeats both horizontally (x) and vertically (y).
css Syntax (Toggle Plain Text)
page { background: url(main.jpg) top left repeat; text-align:center; }
With the shadow problem, it would help if I knew what sort of content was in those table cells, because currently it doesn't really mean anything...
I don't know how far along you are with this, but if you must use dreamweaver/tables, try this:
html Syntax (Toggle Plain Text)
<html> <head> <title>Test</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <style type="text/css"> #page { background: url(main.jpg) top left repeat; } #wrap { width:966px; background: url (shadow.png) center top repeat-y; margin:0 auto; } #site { margin:0 10px; } </style> </head> <body id="page"> <div id="wrap"> <table width="946" id="site" cellpadding="0" cellspacing="4"> <tbody> <tr> <td>Stuff goes in here.</td> </tr> </tbody> </table> </div> </body> </html>
Obviously I don't know the demands of your layout, so I've simplified it A LOT, so hopefully you can start to see what's going on and what it should be doing.
Hope this helps you out.
Laura
Looking for a Web & Graphic Designer?
creativeindividual.co.uk
creativeindividual.co.uk
•
•
Join Date: Jan 2009
Posts: 79
Reputation:
Solved Threads: 11
0
#12 Oct 19th, 2009
Remove the white space between url and bracket in CSS syntax.
Here it is..
replace with
This is the only error I found it. And you need to validate your HTML.
Here it is..
#wrap {
background: url (shadow.png) center top repeat-y;#wrap {
background: url(shadow.png) center top repeat-y;•
•
Join Date: Jun 2009
Posts: 46
Reputation:
Solved Threads: 5
0
#15 24 Days Ago
That's good
What was causing the problems? Might be worth knowing myself for future reference =D
What was causing the problems? Might be worth knowing myself for future reference =D Looking for a Web & Graphic Designer?
creativeindividual.co.uk
creativeindividual.co.uk
![]() |
Similar Threads
- BUG in Internet Explorer. Please help find a solution! (HTML and CSS)
- CSS Border's Shadow ??? (HTML and CSS)
- Making Webpages that conform to the users resolution (Site Layout and Usability)
- Hijack this log Re: desktop background (Viruses, Spyware and other Nasties)
- Need help on centering (HTML and CSS)
- Single Table Cell background (HTML and CSS)
- Gif and transparency (Site Layout and Usability)
Other Threads in the HTML and CSS Forum
- Previous Thread: Help From Css Experince Developer
- Next Thread: How to declare the mime type for a html-email?
| Thread Tools | Search this Thread |
appointments asp background backgroundcolor beta browser bug calendar cart cgi code codeinjection corporateidentity css design development displayimageinsteadofflash dreamweaver emailmarketing epilepsy explorer firefox flash form format google griefers hackers hitcounter hover html ide ie7 ie8 iframe image images internet internetexplorer intranet iphone javascript jpeg layout macbook maps marketshare microsoft mozilla multimedia navigationbars news offshoreoutsourcingcompany opacity opera optimization pnginie6 positioning problem scroll seo shopping studio swf swf. textcolor timecolor titletags url urlseparatedwords visual visualization web webdevelopment webform website windows7





