Search:  

 
 
   All ForumsHot TopicsGallery






how-to block ads


 
Forums » Tech and Talk » OS and Software » Webmasters and Developers » Possible to assign a "margin" to any element?
Search Topic:
Share Topic:
RSS topic:
toggle:
flat / full
normal / watch
Posting:
Post a:
Post a:
Getting Wordpress and phpBB to work together »
« Network Solutions holding domains hostage?  
AuthorAll Replies


Gwellin
Premium
join:2004-05-31
Regina, SK
·Access Communicati..

reply to Sentinel
Re: Possible to assign a "margin" to any element?

Try using the [code][/code] pseudo-tags that most forums offer you. You could also enter it directly but replace the angle brackets with their meta-character equivalent; for example I can display angle brackets < > by entering this: &lt; &gt;

That combined with some previewing to make sure you got it right will give a more understanding post.

-

Anyways, about the horizontal rules you were trying to make. You can easily use negative margins in this case for your rule; make them equal to the body margins and that should be it.

Assuming a body margin of 10px.

Also, horizontal rules are block elements, so you don't have to defined the width at all. In fact you shouldn't to prevent possible cross-browser incompatibilities.

--
Here to help all those in need, whenever I can.


Sentinel
Premium
join:2001-02-07
Florida
That did the trick. Thanks Gwellin. Much appreciated.
Forums » Tech and Talk » OS and Software » Webmasters and DevelopersGetting Wordpress and phpBB to work together »
« Network Solutions holding domains hostage?  


Thursday, 10-Dec 00:53:11 Terms of Use | Privacy Policy | Hosting by www.nac.net - DSL,Hosting & Co-lo | feedback | contact
over 10 years online! © 1999-2009 dslreports.com.republican-creole
page compression OFF
Most commented news this week
· [200] Sprint Sued For Distracted Driving Death
· [109] AT&T Launching New 24 Mbps U-Verse Tier
· [82] 3G Network Test Says AT&T Is Tops
· [72] Mediacom Unveils 105 Mbps Pricing
· [66] Sprint Poised For A Turnaround?
· [66] WPA Cracker: Test WPA-PSK Networks In 20 Minutes
· [62] AT&T Hints At Usage-Based iPhone Data Pricing
· [51] The Future Of Wi-Fi Is Bright
· [47] Site Leaks Yahoo, Verizon Fed Data Share Pricing
· [44] Microwaving Your Innards Is Not 'Extreme'
Most people now reading
· SB6120 Firmware update [Comcast HSI]
· Official "Invite" thread Part 3 - ALL INVITES GO HERE ! [Filesharing Software]
· ICC Strats??? [World of Warcraft]
· MagicJack Error Broken Storage [MagicJack]
· Windows 7 boot manager editing questions [Microsoft Help]
· Cross Server Dungeon Experience [World of Warcraft]
· Evading throttling with uTP / uTorrent 1.9a [TekSavvy]
· RG Firmware update to VDSL2 this morning [AT&T U-verse]
· ICC strats [World of Warcraft]
· Need some electrical advice - one circuit on two fuses? [Home Repair & Improvement]