Jump to content
MARCELO

Responsive division

Recommended Posts

I was building something and between two pairs of text+picture, i decided to make a division using this keyboard key: _  . So i had something like this:

__________________________________________________________________________________________________________________________

 

But in the smartphone, i had this:

_____________________________

_____________________________
______________________________

 

which is not something i wanted to, Is there a way i can present one single line anywhere (laptop, smartphone, etc)?

 

Thanks.

Share this post


Link to post
Share on other sites
  1. Reading about the hr element, i couldn t find out how to specify a color i want for it. It s says  it ¨should render in one solid color (noshaded)¨

But does it mean it can only have one color, even if i try to style it some special way?

 

Thanks.

Share this post


Link to post
Share on other sites

Use CSS to set the border to zero, give it a height of one or two pixels and then give it a background color. CSS lets you style any element in any way, even the <hr> element. The specification only indicates how the browser should style the <hr> element by default when no CSS is applied.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...