| | #1 |
| Active Warrior Join Date: 2012 Location: Los Angeles (USA)
Posts: 36
Thanks: 20
Thanked 0 Times in 0 Posts
|
Hi, I am sort of a newbie, so please bear with me. I attached a drawing of a table that I created. It has two rows and 3 columns. In the first row 2 of the cells are combined using colspan="2". I have one big problem with the table. The far right cell on the bottom is filled with text, and because the text is so lenghthy, it greatly increases the length of all of the bottom cells. I experimented with having that far right cell scroll in a frame, but I could not get it to work. Basically I want the bottom of the table to be completely even. Any help that I can get on this will be greatly appreciated. Thanks! |
| |
| | #2 |
| Advanced Warrior War Room Member Join Date: 2010
Posts: 803
Thanks: 14
Thanked 62 Times in 57 Posts
| Why are you using tables instead of divs? divs would eliminate those problems unless you have specific reasons for needing tables. |
| |
| The Following 2 Users Say Thank You to ronc0011 For This Useful Post: |
| | #3 |
| Active Warrior Join Date: 2012 Location: Los Angeles (USA)
Posts: 36
Thanks: 20
Thanked 0 Times in 0 Posts
|
Thanks Ron, I am a newbie. I will see if there is anything about dvs in my HTML For Dummies Book. |
| |
| | #4 |
| Web Developer War Room Member Join Date: 2012
Posts: 299
Thanks: 30
Thanked 32 Times in 30 Posts
|
A lot of websites are built using tables, but technically that is incorrect. Like Ron mentioned, DIV's are used to build web pages/sites. At times they can be a bit more complicated to use, but I suggest you learn how to use them vs. tables.
|
| Qosso.com - Exceptional Branding At Affordable Prices | |
| |
| The Following User Says Thank You to BillyW For This Useful Post: |
| | #5 |
| Warrior Member Join Date: 2012
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
|
I cannot agree more. Experiment with both, you'll learn quite a lot that can be used later.
|
| |
| | #6 | |
| Advanced Warrior War Room Member Join Date: 2010
Posts: 803
Thanks: 14
Thanked 62 Times in 57 Posts
|
Yeah start working with divs. You will likely find it helpful to apply background colors and borders to them to make them more visible so you can see what you're doing and how your code is being interpreted by the browser. This is also a good way to start getting familiar with CSS and how it is used. I found that because of the immediate feedback this method gives you it can be a lot of fun learning your way around the ins and outs of web design and CSS | |
| |
| | #7 |
| Active Warrior Join Date: 2012 Location: Los Angeles (USA)
Posts: 36
Thanks: 20
Thanked 0 Times in 0 Posts
|
Hey guys, thanks for pointing me in the right direction. My HTML For Dummies book does scratch the surface on <div> and CSS but doesn't really cover what I need to do here. Can anyone recommend a good beginners book or tutorial on the subject? Thanks! -cinque8 |
| |
| | #8 |
| Active Warrior Join Date: 2012
Posts: 69
Thanks: 0
Thanked 12 Times in 12 Posts
|
go to w3schools.com, and click the "learn to create your own website" link. Follow the tutorials, and you will be away in no time. Basically, with divs, you markup your content in boxes, or divisions (divs) in the html, then style it using css. So, to create a simple grid, you would do: <div class="wrapper"> <div class="textbox"> <p>Your paragraph here</p> </div> <div class="anothertextbox"> <p>some more content here</p> </div> </div> The in your css, you define how your widths, heights, backgrounds, margins etc, like this: .wrapper{ width:960px; margin-left:auto; margin-right:auto; } .textbox{ width:40%; padding:5%; font-size:14px; float:left; } .anothertextbox{ width:40%; padding:5%; background:red; float:red; } |
| |
| The Following User Says Thank You to ClicProject For This Useful Post: |
| | #9 |
| Active Warrior Join Date: 2012 Location: Los Angeles (USA)
Posts: 36
Thanks: 20
Thanked 0 Times in 0 Posts
|
Hey, Thanks loads! I'm on it! |
| |
|
| Bookmarks |
| Tags |
| problem, table |
| |