Popular Searches: FrontPage Hosting | FrontPage Templates | FrontPage Training | Free FrontPage

Getting item to fill page width   Logged in as: Guest
  Printable Version
All Forums >>FrontPage Specific Issues >>FrontPage Newbies >> Page: [1]
Name:
Message<< Newer Topic  Older Topic >>

Mavs

 

Posts: 3
Member since: 3/28/2007
 

Getting item to fill page width 

Im new to FrontPage. I have inserted a horizontal page break and then using the drawing tools i drew a box in the space above the page break and filled it blue so that the top part of my page, where my title will go is blue. However when i preview my page in Internet Explorer the page break will fill the whole page, but the blue box varies depending on how big i make it in FrontPage.

So is there some HTML coding i can change so that the blue box always fills the page width aswell?

Thanks for any help.


< Message edited by Mavs -- 3/28/2007 2:56:49 AM >
  Report Abuse |  Date: 3/28/2007 2:52:08 AM

Corey Bryant

 

Posts: 1727
Member since: 9/24/2002
From: Castle Rock, CO

RE: Getting item to fill page width (in reply to Mavs

Can you post the source code? if you are using the drawing tools in Frontpage, chances are your site might not be seen on some browsers due to the code that it creates


_____________________________

Corey
My Merchant Account Blog | Expression Web Blog
  Report Abuse |  Date: 3/28/2007 5:02:34 AM

Mavs

 

Posts: 3
Member since: 3/28/2007
 

RE: Getting item to fill page width (in reply to Mavs

It doesn't appear in Firefox which confused me at first but im not actually making the website to be used. Im making a user guide for a database that i made for school so as long as it works in IE it will be fine.

The source is:
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv="Content-Language" content="en-gb">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<link rel="File-List" href="Home2_files/filelist.xml">
<title>Database User</title>
<!--[if !mso]>
<style>
v\:*         { behavior: url(#default#VML) }
o\:*         { behavior: url(#default#VML) }
.shape       { behavior: url(#default#VML) }
</style>
<![endif]--><!--[if gte mso 9]>
<xml><o:shapedefaults v:ext="edit" spidmax="1027"/>
</xml><![endif]-->
</head>

<body>

<p align="center"> </p>
<p align="center"><!--[if gte vml 1]><v:rect id="_x0000_s1025"
 alt="" style='position:absolute;left:.75pt;top:4.5pt;width:873pt;height:108.75pt;
 z-index:-1' fillcolor="navy" stroked="f" strokecolor="navy"/><![endif]--><![if !vml]><span
style='mso-ignore:vglayout;position:absolute;z-index:-1;left:1px;top:6px;
width:1164px;height:145px'><img width=1164 height=145
src="Home2_files/image001.gif" v:shapes="_x0000_s1025"></span><![endif]></p>
<p align="center"> </p>
<p align="center"><font size="6" color="#FFFFFF">Database User-guide </font></p>
<hr>
<p> </p>

</body>

</html>


Thats all i have done on home page of it so far, but if you could tell me how to get the blue bit to fill the whole page. Or another way to get the top part of the page blue, i would be very grateful.
  Report Abuse |  Date: 3/28/2007 5:18:30 AM

Corey Bryant

 

Posts: 1727
Member since: 9/24/2002
From: Castle Rock, CO

RE: Getting item to fill page width (in reply to Mavs

Those drawing tools really created a lot of havoc on your code.

You might consider using tables to have a background that stretches. Web pages were meant to be developed not designed and keeping that in mind, you will do a lot better. Right now, those drawing elements are using absolute positioning with an absolute width, etc. Using a table you can do something like
<table style="width: 100%; background-color: #000080; color: #FFFFFF;" cellspacing="0" cellpadding="0">
	<tr>
		<td>Your Title</td>
	</tr>
</table>
And that will be easier and will display in the browsers a bit better


_____________________________

Corey
My Merchant Account Blog | Expression Web Blog
  Report Abuse |  Date: 3/28/2007 5:25:34 AM

Mavs

 

Posts: 3
Member since: 3/28/2007
 

RE: Getting item to fill page width (in reply to Mavs

Cheers thats a big help! Have just had a quick play around with using a table and its working so i'll just switch the blue box to a table.

Thanks again!
  Report Abuse |  Date: 3/28/2007 5:47:47 AM
Page:   [1]
All Forums >>FrontPage Specific Issues >>FrontPage Newbies >> Page: [1]
Jump to:

New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts



Forum Software powered by ASP Playground Advanced Edition 2.0.5
Copyright © 2000 - 2003 ASPPlayground.NET

0.015625