Hello!
Please tell the beginner how to draw a horizontal line on the website at the top of the screen that goes through the whole page. As an example, this site: http://nwoil.org/ . Here the line goes up with scrolling.
And the second option is a blue horizontal line at the top of the screen as in Facebook.
Html code:
<!DOCTYPE html> <html> <head> <title>Горизонтальная линия</title> <link rel="stylesheet" href="styletest.css" type="text/css" media="screen" /> <meta charset="utf-8"> <div id="line"> </div> </body> </html>
Css code:
#line { border-top: solid; }
This code does not fit the fact that draws a line where you can see the beginning and end, as well as there is indentation from above. I would like to see the line as on www.facebook.com, the top blue line. Which is the full width of the page (the background is not visible from above and on the sides. It is necessary to make it as if it were background
border-top
property is simply set to the container. And what's on facebook for the line? In the sense of the floating menu? - Moonvvell