NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Web Design Discussion
Reload this Page Borders in CSS

Web Design Discussion Discussion of web design techniques, advice, browser issues, software, design firms.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 03-05-2003, 12:21 PM THREAD STARTER               #1 (permalink)
ccc
Account Closed
Join Date: Feb 2003
Posts: 45
ccc is an unknown quantity at this point
 



Borders in CSS


Is there a way to place two square or rectangular borders side by side with CSS?
ccc is offline  
Old 03-05-2003, 02:09 PM   #2 (permalink)
NamePros Regular
Join Date: Sep 2002
Location: Canada
Posts: 481
DarkDevil is an unknown quantity at this point
 



not sure what you mean...
a boarder is a boarder, its neither square nor rectangular
__________________
Sometimes I lay awake at night and I ask "Where have I gone wrong?" Then a little voice says "This is going to take more than one night"
DarkDevil is offline  
Old 03-05-2003, 02:32 PM THREAD STARTER               #3 (permalink)
ccc
Account Closed
Join Date: Feb 2003
Posts: 45
ccc is an unknown quantity at this point
 



Quote:
Originally posted by DarkDevil
not sure what you mean...
a boarder is a boarder, its neither square nor rectangular
Well, I mean... when I put a border each around two paragraphs of text, then it will assume a square or rectangular shape which I can then manipulate each one (using px) into an equal size and shape.

I guess my qustion is : Can I put two paragraphs side by side and put a seperate border around each paragraph using CSS? I've tried to do it and what ends up happening is, the second paragraph winds up, not next to the first paragraph, but underneath it. If both paragraph's, with borders, could be represented by an upper cased "D" they would look like this on my page:
????: NamePros.com http://www.namepros.com/web-design-discussion/14618-borders-in-css.html















D D
ccc is offline  
Old 03-05-2003, 05:31 PM   #4 (permalink)
NamePros Member
Join Date: Jan 2003
Posts: 117
pistol is an unknown quantity at this point
 



hmmmm, ok. i'll pretend to understand what you're saying for a bit....

Why not put the paragraphs in two divs, have a width for each div, and absolute position them?

so like in your CSS file it would be like


#div {
border: 2px solid #000;
width: 100px;
}

and then your paragraphs in your html file would be like:

<div id="div" style="position: absolute; top:0px; left:0px;">
<p>paragraph 1</p>
????: NamePros.com http://www.namepros.com/showthread.php?t=14618
</div>
<div id="div" style="position: absolute; top:0px; left:105px;">
<p>paragraph 2</p>
</div>

hopefully that'll make sense.
pistol is offline  
Old 03-05-2003, 07:45 PM THREAD STARTER               #5 (permalink)
ccc
Account Closed
Join Date: Feb 2003
Posts: 45
ccc is an unknown quantity at this point
 



Quote:
Originally posted by pistol
hmmmm, ok. i'll pretend to understand what you're saying for a bit....

Why not put the paragraphs in two divs, have a width for each div, and absolute position them?

so like in your CSS file it would be like


#div {
border: 2px solid #000;
width: 100px;
}

and then your paragraphs in your html file would be like:

<div id="div" style="position: absolute; top:0px; left:0px;">
<p>paragraph 1</p>
</div>
<div id="div" style="position: absolute; top:0px; left:105px;">
????: NamePros.com http://www.namepros.com/showthread.php?t=14618
<p>paragraph 2</p>
</div>

hopefully that'll make sense.
Thank you, pistol. It made perfect sense and worked very nicely.


P.S. The secret to understanding what I say is very simple: Assume you're dealing with someone who knows so little about html, css and javascript he doesn't even know how to phrase his questions or if the codes he's using are invalid or long out of use.
ccc is offline  
Old 03-08-2003, 04:58 AM   #6 (permalink)
NamePros Member
Join Date: Jan 2003
Posts: 117
pistol is an unknown quantity at this point
 



hahah, no problem! ^_^
pistol is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Liquid Web Smart Servers  
All times are GMT -7. The time now is 09:09 AM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger