![]() |
|
#1
|
|||
|
|||
css/div how do i?howdy all
i have been learning div positioning but there is one technique that really boggles me I am working on a small site at the mo that requires the background of the left menu <div> repeated to the same height as a different <div>..the same effect as with a table with two columns.. for example i am working www.richardwdesigns.com and as you can see my interface requires the background image of the left menu.. so the interface should now www.richardwdesigns.com without the height of the left menu <div> specified (view source) anyone know how i can do this properly without using tables? peace, Rich |
|
#2
|
|||
|
|||
|
Create a div and add the background image to that. And then place the other divs in that one
|
|
#3
|
|||
|
|||
|
woops sorry havent updated this thread
as u can see i have decided to change my desired design...not enough experience with div positioning tables make it easy for me thanx for the reply Corey what u think of my new design now and the html techniques i used? www.richardwdesigns.com |
|
#4
|
|||
|
|||
|
Seems to be very good
|
|
#5
|
|||
|
|||
|
why thankyou
the more i try div positioning compared to using tables the more I question is div positioning really better than tables? This article has some interesting points for beginners www.hotdesign.com thanx, Rich |
|
#6
|
||||
|
||||
|
Who says it's better?
![]() Just use what works for you, is what I would suggest. If it takes you just ½ day to come up with a decent layout for your web page doing it with tables, compared to days/weeks trying to get a similar layout done with divs (and one that works with all the popular browsers and at different screen sizes), then your choice is more than justified. __________________
J de Silva Learning Journal | GIDForums™ | GIDNetwork™ | GIDWebhosts™ | GIDSearch™ |
|
#7
|
|||
|
|||
|
I agree with JdS here.
I started using divs because I actually learned how to use them it it became fun to make everything work in the browsers. It is a little faster loading since the CSS is loaded usually on the first page. I'll admit, I'll still use tables from time to time if I am in a hurry to get something up. And then sometimes I get frustrated & cheat - I'll mix both of them! And thn go back later when my head is clear. You will find people that like divs much better than tables and vice versa. It is somewhat on of the more popular debates right now, just like ASP vs PHP and Windows vs *NIX. Everyone will have their own opinion but all that mainly matters is what do you like and what do you feel more comfortable with? |
Recent GIDBlog
Halfway done! by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The