By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,879 Members | 1,809 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,879 IT Pros & Developers. It's quick & easy.

Border margin

P: n/a
Can somebody tell me if it is possible to define a border margin width in
the following?

h3 { border-style: solid; border-width: 5px; }

That is, I only desire the border to expand across the screen for a portion
rather than the entire line.

Thanks in advance
Jul 20 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
lostinspace wrote:
That is, I only desire the border to expand across the screen for a
portion rather than the entire line.


Borders only go along entire edges of the element they are applied to. (An
inline element link <span> might be of use here)

--
David Dorward <http://dorward.me.uk/>
Jul 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.