Click here to Skip to main content
15,907,236 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
this is so simple but i cannot remedy the problem. i have placed a
table in the centre of my page and everything on my page is inside to
maintain the same style regardless if iam usin 600x or 1024 x ok. well
on design view everything is in the working fram including the final
navigation bar at te bottom. however, when i execute it
all the content that is suppose to be in the middle come at the bottom... every time,....help me out
Posted
Updated 23-Nov-10 23:45pm
v2
Comments
Dave Kreskowiak 23-Nov-10 15:12pm    
You might want to explain if this is an ASP.NET app, HTML, Windows Forms, ... Nobody has any clue what you're talking about.
Rod Kemp 23-Nov-10 22:59pm    
Supplying some code showing the relevant section would be helpful otherwise people are just going to be guessing.

1 solution

Have a look at the following that I think might help you out:

Menu > Layout > Position > Auto-Position Options

XML
<div style="text-align:center">
 ... to be centered ... 
</div>


But also have a look at the following link with a discussion about centering block elements for more info on this:
http://css-discuss.incutio.com/wiki/Centering_Block_Element[^]

Good luck!
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900