Jump to content

deal with website window


runnerjp

Recommended Posts

This isn't a huge deal, but I am having trouble with my webpage when I resize the window.

 

Go to http://www.runnerselite.com and resize the window horizontally. When it gets smaller the banner which is positioned in the center always stays in the center no matter how small the window gets....

 

 

 

Is there any way to fix this?

 

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link href="css/layout.css" rel="stylesheet" type="text/css" media="screen" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>RunnersElite -Home-</title>
</head>
<body>
<div id="LOGO">
<center><img src="http://www.runnerselite.com/images/LOGO.jpg" alt="Site Logo" width="750" height="100" STYLE="min-width: 750px"></center></div>
</body>
</html>

Link to comment
https://forums.phpfreaks.com/topic/40030-deal-with-website-window/
Share on other sites

Sorry, but the question still doesn't make sense.  Are you expecting the horizontal center of the banner to align with the horizontal center of the window even when the window width is less than the width of the banner? If so, why (and I don't think it's sensibly possible)? If not, then what is it that you want to do?

lol this is very hard to explain emrm ok

 

1            2            1            ok no 2 represents my banner in middle of page

 

 

 

 

 

1                          1

 

 

1    2    1          when the window is shrunk in size the banner is still in cnt of page

 

 

1          1

 

so if i put objects to the left and to the right of the banner they end up being all squished together and over lapping because they are still tyring to fit the page width if that maxes sense.... is there away to make the image a fix position say so that when the page is opend its in the center... then if for some rason the page is shurnk in size the image does not move!! does that make sence

Runner what have you ddone????

 

I gave you a html file that had everything you needed to do this with the header centered and everything...

 

you seem to have reverted to tables for layouts and using afwul center tags and so and such forth.

 

I know you are learning but learning should be a case of improving your technique NOT making things worse...

i have began to use table because i think i need to take it a step at a time.... i think by developing thestie 1st ( yes sadly with tables which i have to say many site use like the bbc 1!!!) it means that 1ns i got the site up and running i am able to do a makeover and start improving my html skills.... at the moment tho i need to get every thing all together as at the moment i keep going round in circles.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.