Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Placing two divs next to a table
Old 05-10-2011, 04:46 PM Placing two divs next to a table
Junior Talker

Posts: 1
Trades: 0
Hello everyone,
First let me warn you, I'm a guy with no real web site building experience - I'm trying to help a friend with a small web site he wants to build for a possible business. Therefore, my questions might frustrate you

I attached a zip file with an screenshot of the code, and the html file. The top blue art is a div, and the purple ribbon is a div as well. I had major problems with the second div, but I somehow managed to get it the way I wanted. I'm pretty sure an experienced web site builder will get a stroke when he sees the mess

Now I want to add shadows to the right and left borders of the big white box in the middle. To do that, I figured I need to place 2 divs (with a repeating y-axis image of the shadow). To put it rather simply, I'm having problems with this... and I would love to get some help on this....
I tried changing the absolute and relative settings, but once I do that, the entire page goes bananas.

I'd really appreciate your help on this, and the more "step by step" help - the better, because I will probably not understand a pro tech talk

Thank you!
Guy



Last edited by Shey; 05-10-2011 at 06:47 PM.. Reason: link removed
loadstone007 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 05-13-2011, 07:43 PM Re: Placing two divs next to a table
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Quote:
Now I want to add shadows to the right and left borders of the big white box in the middle. To do that, I figured I need to place 2 divs (with a repeating y-axis image of the shadow).
No, you don't, you're making it more complicated than you need to. The easiest way to do this (other than CSS3 that is), is to create a narrow horizontal 'slice' of the white background that INCLUDES the shadows on the sides, then set that small graphic as the background of the main area, set it to repeat-y and you're done - box with shadows all at once.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Placing two divs next to a table
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.78462 seconds with 12 queries