General Programming Discussions Discuss Various Programming Languages Used In Website Management.

Reply
 
Thread Tools

  #1  
Old 03-31-2006, 11:57 PM
MMM's Avatar
MMM MMM is offline
Rent This Space...
 
Join Date: Apr 2005
Admin Experience: Guru
Posts: 2,324
MMM is just really niceMMM is just really nice
Dotted line code?
Does anyone know what the HTML code is for making the dotted lines like this?:

-------------------------------------

We need something similar to:

Code:
	<hr size="1" style="color:#FFFFFF" />
Only in a dotted line style. I've searched many HTML sites with no luck
Reply With Quote
  #2  
Old 04-01-2006, 12:12 AM
PalePhoenix's Avatar
PalePhoenix PalePhoenix is offline
Prince of Dorkness
 
Real Name: Phillip
Join Date: Dec 2005
Admin Experience: Guru
Location: Arizona, US
Age: 43
Posts: 5,994
PalePhoenix is just really nicePalePhoenix is just really nice
 
You might have to dummy in an image.
__________________
chimère
join a GLBTQ forum, or just Relax
Reply With Quote
  #3  
Old 04-01-2006, 12:51 AM
MMM's Avatar
MMM MMM is offline
Rent This Space...
 
Join Date: Apr 2005
Admin Experience: Guru
Posts: 2,324
MMM is just really niceMMM is just really nice
 
I know it's possible without an image. I've seen it used with Invision forums. The code they used was:

Code:
<td width='100%' colspan='3'><div class='row2' style='padding:6px' ></td>
Row2 was:

Code:
.row2 { padding: 4px 4px 4px 4px;background-color: #ffffff; }
I tried to reproduce it but only got a small box
__________________
The box said 'Requires Windows 7 or better'. So I installed OS X...
Reply With Quote
  #4  
Old 04-01-2006, 04:27 AM
MMM's Avatar
MMM MMM is offline
Rent This Space...
 
Join Date: Apr 2005
Admin Experience: Guru
Posts: 2,324
MMM is just really niceMMM is just really nice
 
Here is a screenshot of what it looks like.
Attached Images
File Type: gif Picture 10.gif (6.2 KB, 11 views)
__________________
The box said 'Requires Windows 7 or better'. So I installed OS X...
Reply With Quote
  #5  
Old 04-01-2006, 08:35 AM
KeithMcL's Avatar
KeithMcL KeithMcL is offline
Freelance Web Designer
 
Real Name: Keith
Join Date: Jan 2004
Admin Experience: Advanced
Location: Dublin, Ireland
Age: 39
Posts: 2,864
KeithMcL has a spectacular aura about
Default
Try this:
HTML Code:
<div class="dottedline">&nbsp;</div>
HTML Code:
.dottedline {
    border-bottom: 1px dotted Black;
}
Reply With Quote
  #6  
Old 04-01-2006, 09:14 AM
Wayne Luke's Avatar
Wayne Luke Wayne Luke is offline
Tazmanian
 
Join Date: Jan 2004
Admin Experience: Guru
Location: Southern California
Posts: 2,897
Wayne Luke is a name known to allWayne Luke is a name known to allWayne Luke is a name known to allWayne Luke is a name known to allWayne Luke is a name known to all
Default
According to the CSS Recommendation, it should be noted that "dotted" should be represented as:

...................

whereas "dashed" should be represented as

-----------------------

Several current browsers have bugs which render "dotted" as "dashed". If you want consistency and the same effect to work in future browsers then you should use the "dashed" attribute on your border and not "dotted". This will preserve your example across different browsers and platforms.
Reply With Quote
  #7  
Old 04-01-2006, 11:21 AM
KeithMcL's Avatar
KeithMcL KeithMcL is offline
Freelance Web Designer
 
Real Name: Keith
Join Date: Jan 2004
Admin Experience: Advanced
Location: Dublin, Ireland
Age: 39
Posts: 2,864
KeithMcL has a spectacular aura about
Default
Thanks for clearing that up Wayne.
Reply With Quote
  #8  
Old 04-01-2006, 08:16 PM
MMM's Avatar
MMM MMM is offline
Rent This Space...
 
Join Date: Apr 2005
Admin Experience: Guru
Posts: 2,324
MMM is just really niceMMM is just really nice
 
Quote:
Originally Posted by KeithMcL
Try this:
Thanks Keith! We will give that a try.

Also, thanks for the heads up Wayne. We didn't even know there was a dashed/dotted difference.

We will follow your suggestion
__________________
The box said 'Requires Windows 7 or better'. So I installed OS X...
Reply With Quote
Reply

  Admin Zone Forums > The Development Zone > General Programming Discussions





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

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
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Interview with Brian Moon The Sandman Interviews 12 03-28-2011 07:40 PM
My PHP code into vB Homerun vBulletin 3 03-08-2006 12:27 PM
phpBB 2.0.19 Released fumbalah phpBB 1 12-30-2005 01:17 PM
Droplister.com - The expiring domain search & community: droplister Community Reviews 5 05-15-2005 04:57 PM


 

All times are GMT -4. The time now is 03:55 AM.


Powered by: vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Page generated in 0.06597900 seconds with 14 queries
The Admin Zone © copyright 2003-2014 All Rights Reserved. Content published on The Admin Zone requires permission for reprint.