republican-creole
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

Kiwi
Premium
join:2003-05-26
USA

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

You are not 'Opening' " with less than but ending correctly with />


Sentinel
Premium
join:2001-02-07
Florida

Do you mean what I wrote above? Yeah, I did that on purpose so that the post doesn't show the html. On the actual web page of course I had the "" opening brace or else nothing would have worked at all.

Sorry. I assumed that the post itself showed enough knowledge of html that anyone reading it would assume that I knew enough to make a correct tag. I should have noted that I was purposefully leaving out the first brace so that the html would not render here. My apologies if it through you off.

Do you have a solution to my problem though?


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

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, 03-Dec 14:56:09 Terms of Use | Privacy Policy | Hosting by www.nac.net - DSL,Hosting & Co-lo | feedback | contact
over 10 years online! © 1999-2009 dslreports.com.
page compression OFF
Most commented news this week
· [162] Comcast Releasing Promised Usage Meter
· [129] Avast Antivirus Has Gone Mad
· [103] Graduate Student Unveils Sprint's GPS Sharing With Feds
· [81] Latest Consumer Reports Survey Not Kind To AT&T
· [75] Comcast Makes NBC Universal Acquisition Official
· [70] Baltimore To Ban Lazy Cable Installs
· [64] Broadband Killed The Game Console
· [55] Rogers Unveils The ISP Dream Model
· [47] ACTA: Global Three Strikes
· [47] Sprint Defuses GPS Privacy Media Bomb
Most people now reading
· False positive in Avast! or is it real? [Security]
· Warrior tank seem underpowered these days [World of Warcraft]
· [TWC] Audio/Video outage in Brooklyn [Time Warner Cable TV/Voice]
· [Rant] Disrespect of PTO [Rants, Raves, and Praise]
· [northeast] Lost power, ONT and my UPS. [Verizon Fiber Optics]
· Windows 7 boot manager editing questions [Microsoft Help]
· HELP! Leveling up! [World of Warcraft]
· Can I haz sum gold plz? [World of Warcraft]
· PVP in wow today [World of Warcraft]