Thanks trinzia, i'll check them out :o)
Apresto
Main Topics
Browse All Topicshi all,
ok, i'm trying to follow aventure but at the moment the only stopping me from advancing is how to layout and set up my asp.net pages.
I was first using nested tables to get the layout as i wanted. I used to use Divs but they would just go hay wire!!
I was told by humaniuk that he uses purely Css to style and position his pages.
Could someone tell me how to do this or point me to some good links. I am using CSS already but just to style the table elements and links etc
Any help is greatly appreciated
Thanks
Apresto
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
As far as i know css uses absolute or relative postions with exact positioning of you elements, like:
--------------------------
<html>
<head>
<title>test</title>
<style type="text/css">
.div {
padding: 0px;
margin: 0px;
}
.object1 {
position: relative;
left:50px;
top:30px;
}
</style>
</head>
<body>
<div class="object1"><img src="http://asd-www.larc.n
</body>
</html>
--------------------------
http://msdn.microsoft.com/
The classes can be defined for various objects, like in this example .div for <div> tag.
The picture is just a random one from google.com ;)
If I understood what you mean.
of course you can put the class inside <img> tag and forget about the <div> tag, i just wanted to show, that div can also get edited and so ;)
+ if you put position to absolute, you can aacually put objects over object, like this example:
--------------------------
<html>
<head>
<title>test</title>
<style type="text/css">
.div {
padding: 0px;
margin: 0px;
}
.object1 {
position: absolute;
left:50px;
top:30px;
}
.object1 {
position: absolute;
left:70px;
top:100px;
}
</style>
</head>
<body>
<div class="object1"><img src="http://asd-www.larc.n
<div class="object2"><img src="http://asd-www.larc.n
</body>
</html>
--------------------------
Remember that ASP.Net renames server side controls. As in any object with a directive of runat="server" will have a different ID when rendered to the screen. For this reason you need to use classes and not ID styles. Most ASP.Net controls have a parameter of CssClass="whatever" which when rendered translates to class="whatever".
The other thing to consider is what exactly is being rendered. For example, ASP image buttons are not images at all but inputs with type="image". Other controls often have span's or div's surrounding them. This is just the way ASP.Net works. Look at the source code of the rendered page and this might help you understand exactly what it is you need to apply styles to.
Business Accounts
Answer for Membership
by: trinziaPosted on 2006-08-21 at 08:16:01ID: 17356496
I have made a list of links on this page:
http://www.pixielounge.com
I basically learned everything I know so far from those links -- hopefully it can help you skip the searching and reading tutorials that weren't helpful. I also am doing some writing but beware of broken links on my site if you read any of it -- sadly, it's low priority right now.
:) trinzia