It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming HTML Forum

Page Borders

Page Borders

Postby Vox on Sat Nov 29, 2008 4:53 am

I didn't know whether this would be considered a graphics issue or a coding issue, but I want to know how I could have a border on my page like the one at ubuntu.com.
Last edited by Vox on Wed Dec 03, 2008 4:40 pm, edited 1 time in total.
User avatar
Vox
 
Posts: 9
Joined: Thu Nov 27, 2008 2:33 am

Re: Page Borders

Postby rangana on Sun Nov 30, 2008 7:14 am

Which border are you referring? Have you searched on CSS' border property?
User avatar
rangana
500+ Club
 
Posts: 935
Joined: Wed Feb 27, 2008 5:14 am
Location: Cebu City Philippines

Re: Page Borders

Postby webmaster on Sun Nov 30, 2008 9:27 am

Are you talking about the shadow around the white page? That's made by a background image.
User avatar
webmaster
Site Admin
 
Posts: 2695
Joined: Tue Aug 17, 2004 1:07 pm
Location: Sweden

Re: Page Borders

Postby Vox on Sun Nov 30, 2008 5:20 pm

webmaster wrote:Are you talking about the shadow around the white page? That's made by a background image.


Oh, yes, thank you. I can make it the background of a 3 by 3 table, right? That would ensure that the sides would grow if I filled up the middle section more, right?
User avatar
Vox
 
Posts: 9
Joined: Thu Nov 27, 2008 2:33 am

Re: Page Borders

Postby Vox on Sun Nov 30, 2008 5:21 pm

rangana wrote:Which border are you referring? Have you searched on CSS' border property?


I mean the border that separates the white from the orange/brown background, and I thought that CSS would only give me one of those ugly boxy borders.
User avatar
Vox
 
Posts: 9
Joined: Thu Nov 27, 2008 2:33 am

Re: Page Borders

Postby dflynn on Sun Nov 30, 2008 10:39 pm

You shouldn't use tables for layouts. Use Div layers with CSS, it also allows for expansion if you use it properly.
you could do it simply in a 3x3 set of divs or if you don't need expansion, 1x3.
User avatar
dflynn
500+ Club
 
Posts: 860
Joined: Wed Oct 03, 2007 9:06 pm
Location: Guelph, Canada

Re: Page Borders

Postby Vox on Tue Dec 02, 2008 9:19 pm

dflynn wrote:You shouldn't use tables for layouts. Use Div layers with CSS, it also allows for expansion if you use it properly.
you could do it simply in a 3x3 set of divs or if you don't need expansion, 1x3.


I don't think I understand. Somebody I know that also does this sort of thing told me to use tables for layouts and divs for formatting text. The only thing that I know about divs is that they are good for combining with CSS.

And what is expansion?
User avatar
Vox
 
Posts: 9
Joined: Thu Nov 27, 2008 2:33 am

Re: Page Borders

Postby Johnathan on Tue Dec 02, 2008 9:27 pm

Well tell the person you know to stop being stoopid. DIV's for layout, tables for tabular data.
Johnathan
1000+ Club
 
Posts: 1207
Joined: Thu May 31, 2007 3:28 pm
Location: Belfast, Northen Ireland

Re: Page Borders

Postby dflynn on Tue Dec 02, 2008 10:36 pm

Vox wrote:
dflynn wrote:You shouldn't use tables for layouts. Use Div layers with CSS, it also allows for expansion if you use it properly.
you could do it simply in a 3x3 set of divs or if you don't need expansion, 1x3.


I don't think I understand. Somebody I know that also does this sort of thing told me to use tables for layouts and divs for formatting text. The only thing that I know about divs is that they are good for combining with CSS.

And what is expansion?


No no no. They are very wrong. Tables is for data and displaying in organized columns and rows. Div layers are not for stylizing text. They are "Layers", kinda like in Photoshop, they for items to be moved separately around the page, even stacked on top of each other. They work through CSS and have many many many valuable properties that make them much more versatile that a simple table.
User avatar
dflynn
500+ Club
 
Posts: 860
Joined: Wed Oct 03, 2007 9:06 pm
Location: Guelph, Canada

Re: Page Borders

Postby Vox on Wed Dec 03, 2008 2:30 pm

dflynn wrote:
Vox wrote:No no no. They are very wrong. Tables is for data and displaying in organized columns and rows. Div layers are not for stylizing text. They are "Layers", kinda like in Photoshop, they for items to be moved separately around the page, even stacked on top of each other. They work through CSS and have many many many valuable properties that make them much more versatile that a simple table.


Okay. Then I guess I ought to start using div layers. Thank you all.
User avatar
Vox
 
Posts: 9
Joined: Thu Nov 27, 2008 2:33 am

Next

Who is online

Users browsing this forum: No registered users and 6 guests