Real Estate Forums

Coding HTML, ASP, PHP, JAVA MYSQL and more. All coding questions should be asked here.

Reply
 
Thread Tools Display Modes
Old 07-09-2007, 11:11 AM
brandonre's Avatar
brandonre brandonre is offline
Uber Real Estate Webmaster
 
Join Date: Dec 2006
Location: Brandon, Florida
Posts: 594
brandonre is on a distinguished road
Default Css Alignment

Hi I'm looking for a way to line up a column of three with links something like this
using css.

Link Column1 Link Column2 Link Column3
Link Column1 Link Column2 Link Column3
Link Column1 Link Column2 Link Column3
__________________
Brandon Florida Real Estate
Do Follow, Comment Luv Tampa Real Estate Blog and Top Commentator enabled
Tampa MLS
Reply With Quote
Old 07-09-2007, 11:34 AM
kyle422's Avatar
kyle422 kyle422 is offline
Real Estate Webmaster
 
Join Date: Oct 2004
Location: Florida
Posts: 2,130
kyle422 is on a distinguished road
Default Re: Css Alignment

Try this: http://css-discuss.incutio.com/?page=ThreeColumnLayouts
Reply With Quote
Old 07-09-2007, 12:30 PM
kelsheikh's Avatar
kelsheikh kelsheikh is offline
Advancing Webmaster
 
Join Date: Jul 2007
Posts: 94
kelsheikh is on a distinguished road
Default Re: Css Alignment

Heres another one: http://glish.com/css/2.asp Cheers
Reply With Quote
Old 07-09-2007, 01:19 PM
brandonre's Avatar
brandonre brandonre is offline
Uber Real Estate Webmaster
 
Join Date: Dec 2006
Location: Brandon, Florida
Posts: 594
brandonre is on a distinguished road
Default Re: Css Alignment

Sorry I think I may have not explained what I was looking for correctly. I am looking for more of a way to align text links similar to the way a table is lay out not the body columns.

A row of text links a left column,middle column, and right column.
__________________
Brandon Florida Real Estate
Do Follow, Comment Luv Tampa Real Estate Blog and Top Commentator enabled
Tampa MLS
Reply With Quote
Old 07-09-2007, 01:45 PM
Mouse's Avatar
Mouse Mouse is offline
Advancing Webmaster
 
Join Date: Apr 2007
Location: Austin, Tx
Posts: 60
Mouse is on a distinguished road
Default Re: Css Alignment

You could put the links in an unordered list and display the list items inline.
Reply With Quote
Old 08-02-2007, 05:42 AM
danish's Avatar
danish danish is offline
New real estate webmaster
 
Join Date: Aug 2007
Location: Lahore, Pakistan
Posts: 22
danish is on a distinguished road
Send a message via MSN to danish
Default Re: Css Alignment

you can use also div tags ... instead of using table.
Reply With Quote
Old 08-05-2007, 11:56 PM
Benjamin EBWS Benjamin EBWS is offline
New real estate webmaster
 
Join Date: Jul 2007
Location: Stockholm and Cali
Posts: 3
Benjamin EBWS is on a distinguished road
Default Re: Css Alignment

Like Mouse said, use a list (ul/li) and float:left to get them in a row. It's possible other ways (div) but ul/li is the best (won't dynamically resize)
__________________
Benjamin Kamp, CEO
EB Web Services Inc.
Offering Real Estate Services Through Sell My Beautiful House
Reply With Quote
Old 09-03-2007, 11:35 AM
MAC MAC is offline
New real estate webmaster
 
Join Date: Apr 2006
Location: Portugal
Posts: 16
MAC is on a distinguished road
Default Re: Css Alignment

try this code sample:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>example</title>
<style type="text/css">
* {
font: normal 1em Arial, Helvetica, sans-serif;
color:#999;
}
.colun{
width:200px;
float:left;
border-top:#ccc 1px solid; /** delete this line for no border **/
}
.colun p {
border:#ccc 1px solid; /** delete this line for no border **/
border-top:none; /** delete this line for no border **/
margin: 0;
padding: 0;
}
.colun a, .colun a:visited {
color:#00c;
text-decoration:none;
padding: 0 0 0 6px;
}
</style>
</head>
<body>
<div class="colun">
<p><a href="#">link1</a></p>
<p><a href="#">link1</a></p>
</div>
<div class="colun">
<p><a href="#">link1</a></p>
<p><a href="#">link1</a></p>
</div>
<div class="colun">
<p><a href="#">link1</a></p>
<p><a href="#">link1</a></p>
</div>
</body>
</html>

Cheers!
__________________
MAC
_________________________________________
Adobe Certified Professional, Macromedia Dreamweaver 8 Developer.
Reply With Quote
Old 09-03-2007, 06:40 PM
brandonre's Avatar
brandonre brandonre is offline
Uber Real Estate Webmaster
 
Join Date: Dec 2006
Location: Brandon, Florida
Posts: 594
brandonre is on a distinguished road
Default Re: Css Alignment

Thanks Mac, That code worked great Cheers
__________________
Brandon Florida Real Estate
Do Follow, Comment Luv Tampa Real Estate Blog and Top Commentator enabled
Tampa MLS
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

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

For our members

Main Sections

IDX Coverage Areas

Spiders Welcome

All times are GMT -7. The time now is 04:56 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.