HighDots Forums  

Center of webpage

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Center of webpage in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Carlsspecial
 
Posts: n/a

Default Center of webpage - 11-02-2004 , 04:10 PM






Hi There

First of all, thanks to all of you who (hopefull) read and respond to my
question

I would like to know of there there is a solution to my problem, I wan't to
build a webpage with 5 pages, all pages contains one big picture, with all
text, menubar etc. (the reason I use a picture is bescause I use a fonttype
that probably not all user have) . How do I make sure the picture is in the
center of the web-browser? All the pages (pictures) is 800 x 600 px.

I have been reading a lot of discussion about optimal height and width of
webpages (ex. http://www.thepattysite.com/window_sizes1.cfm) , but I haven't
found the rigth thing.

Hope you can help me

regards Carlsspecial


Reply With Quote
  #2  
Old   
sselden
 
Posts: n/a

Default Re: Center of webpage - 11-02-2004 , 04:23 PM






There are two ways you can center content. Using a div or using a table. Below
are steps for each.

1. Insert the image
2. Select the Image
3. Open the PI if not already open, go to Window > Properties
4. Click the align center button on the bottom right side of the PI, next to
the Border text field.

- or -

1. Open the Insert bar if not already open, go to Window > Insert
2. Select Common in the left corner of insert bar
3. Click the Insert table button
4. Create a table with the following settings:
--> 1 Row
--> 1 Columns
--> Do not specify a width, if width has default value delete value so field
is blank.
--> 0 border (unless you want a border around your content)
--> leave padding and spacing blank
--> Click OK
5. Place the cursor inside the table cell, then cclick the insert image button
on insert bar
6. Open PI if not already open. Go to Window > Properties
7. Select Table, in the table PI select center from Align drop down menu in
upper right of PI.

-
Sharon Selden



Reply With Quote
  #3  
Old   
Carlsspecial
 
Posts: n/a

Default Re: Center of webpage - 11-02-2004 , 05:13 PM



Hi Sharon

Thanks alot for your answer, it is 100% correct.

But I have formulated my question wrong. I want to make some space in both
sides of the picture (tabel), and I want that users with browers bigger than
800 px in width, have the picture (tabel) in the center of the browser.

I hope you can/will help me once more




Reply With Quote
  #4  
Old   
Carlsspecial
 
Posts: n/a

Default Re: Center of webpage - 11-02-2004 , 05:33 PM



I found out myself, tabel width 100% is the solution.

Reply With Quote
Reply




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.