Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Software Development
Programming
Programming Q&A
My website looks strange on a smaller resolution
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Vezel" data-source="post: 182902" data-attributes="member: 24702"><p>Okey so this is what happens:</p><p>This is how it looks like on my screen that i code on: <a href="http://prntscr.com/un2bj" target="_blank">http://prntscr.com/un2bj</a> (if you think it's ugly it's becouse i started to code 2 days ago and this is my first website <img src="/styles/default/xenforo/smilies/emojione/tongue.png" class="smilie" loading="lazy" alt=":p" title="Stick Out Tongue :p" data-shortname=":p" />)</p><p>This is how it looks on a smaller screen: <a href="http://prntscr.com/un2ge" target="_blank">http://prntscr.com/un2ge</a></p><p> </p><p>Code: </p><p>[HTML]<!doctype html></p><p> </p><p><html></p><p><head></p><p><title>Vezel - Home</title></p><p> <link rel="stylesheet" type="text/css" href="configs/ccsconfig.css"/></p><p> <style type="text/css"> </p><p> </p><p> </style></p><p></head></p><p><body></p><p><div class="boxed"></p><p><a href="index.html" id="active">Home</a></p><p><a href="about.html" id="About">About</a></p><p><a href="info.html" id="Info">Info</a></p><p><a href="contact.html" id="Contact">Contact Me</a></p><p></div></p><p> </p><p><div class="nav"></p><p><a href="news.html" id="active">News</a></p><p> </p><p> </p><p> </p><p></div></p><p><div class="infobox"></p><p><div class="text"></p><p><header></p><p><hgroup><h1>Vezel's Website</h1></hgroup></p><p><header></p><p> </p><p> </p><p><p>This site is made by Vezel and this is my first Website that i've ever made,</p><p>since it's my first it isnt so good and im just doing it to test out html.</p></p><p> </p><p></div></p><p></div></p><p><div id="menu"></p><p><div id="login"></p><p><p><strong>Login here:<strong></p></p><p><form></p><p><b>Username:</b> <input type="input" name="Button"/></p><p> <br/></p><p><b>Password:</b> <input type="password" name="pass"/ id="pass"/></p><p> <br/></p><p><div id="submit"></p><p> <input type="submit" name="submit" value="Submit"></p><p></form></p><p> </p><p></div></p><p></div></p><p></div></p><p> </p><p></div></p><p></body></p><p></html>[/HTML]</p><p> </p><p>CSS:</p><p>[CODE] b {color:white}</p><p> #pass {position:absolute;</p><p> left: 77px;}</p><p> form {border 1px solid red}</p><p> #menu {position:absolute;</p><p> top: 500px;}</p><p> #submit {position:absolute;</p><p> left: 0px;</p><p> top: 95px;}</p><p> #login {position:absolute;</p><p> background-color:540303;</p><p> top: -100px;</p><p> left: 5px;</p><p> width: 250px;</p><p> height: 120px;}</p><p> body {background-image:url(bilder/bg.jpg);</p><p> background-size:100%;}</p><p> .boxed {border: 1px solid black;</p><p> background-color:#A21111;</p><p> width: 250px;</p><p> height: 980px;}</p><p> a:link {color:white;</p><p> text-decoration:none;</p><p> font-size:25px;}</p><p> a:hover {color:black;</p><p> text-decoration:underline;}</p><p> a:visited {color:white}</p><p> #Home{position:absolute;</p><p> top:10px;</p><p> left:15px;}</p><p> a#active { color: black;</p><p> position:absolute;</p><p> top:10px;</p><p> left:15px;}</p><p> a#About {position:absolute;</p><p> top:50px;</p><p> left:15px;}</p><p> a#Info {position:absolute;</p><p> top:90px;</p><p> left:15px;}</p><p> a#Contact {position:absolute;</p><p> top:130px;</p><p> left:15px;}</p><p> .nav {position:absolute;</p><p> top:15px;</p><p> left:400px;</p><p> width:1300px;</p><p> height:50px;</p><p> background-color:#A21111;}</p><p> .infobox {position:absolute;</p><p> top:100px;</p><p> left:444px;</p><p> width:1200px;</p><p> height:750px;</p><p> background-color:#A21111;}</p><p> .text {position:absolute;</p><p> top:1px;</p><p> left:1px;</p><p> border: 2px solid #870505;</p><p> height:300px;</p><p> width:400px;}</p><p> h1{padding: 2px;</p><p> font: 20px Palatino Linotype;</p><p> color: #white;}</p><p> p {color:white;</p><p> margin-top:10px;</p><p> text-indent:25px;}[/CODE]</p><p> </p><p>As is said, it's my first website and im just trying to get better on coding so pleaase no hate on the code but you can give me ideas on what i should change/add, and ofc i would be nice if you could answere my question and show me how to do next time i code <img src="/styles/default/xenforo/smilies/emojione/smile.png" class="smilie" loading="lazy" alt=":)" title="Smile :)" data-shortname=":)" /></p></blockquote><p></p>
[QUOTE="Vezel, post: 182902, member: 24702"] Okey so this is what happens: This is how it looks like on my screen that i code on: [url]http://prntscr.com/un2bj[/url] (if you think it's ugly it's becouse i started to code 2 days ago and this is my first website :p) This is how it looks on a smaller screen: [url]http://prntscr.com/un2ge[/url] Code: [HTML]<!doctype html> <html> <head> <title>Vezel - Home</title> <link rel="stylesheet" type="text/css" href="configs/ccsconfig.css"/> <style type="text/css"> </style> </head> <body> <div class="boxed"> <a href="index.html" id="active">Home</a> <a href="about.html" id="About">About</a> <a href="info.html" id="Info">Info</a> <a href="contact.html" id="Contact">Contact Me</a> </div> <div class="nav"> <a href="news.html" id="active">News</a> </div> <div class="infobox"> <div class="text"> <header> <hgroup><h1>Vezel's Website</h1></hgroup> <header> <p>This site is made by Vezel and this is my first Website that i've ever made, since it's my first it isnt so good and im just doing it to test out html.</p> </div> </div> <div id="menu"> <div id="login"> <p><strong>Login here:<strong></p> <form> <b>Username:</b> <input type="input" name="Button"/> <br/> <b>Password:</b> <input type="password" name="pass"/ id="pass"/> <br/> <div id="submit"> <input type="submit" name="submit" value="Submit"> </form> </div> </div> </div> </div> </body> </html>[/HTML] CSS: [CODE] b {color:white} #pass {position:absolute; left: 77px;} form {border 1px solid red} #menu {position:absolute; top: 500px;} #submit {position:absolute; left: 0px; top: 95px;} #login {position:absolute; background-color:540303; top: -100px; left: 5px; width: 250px; height: 120px;} body {background-image:url(bilder/bg.jpg); background-size:100%;} .boxed {border: 1px solid black; background-color:#A21111; width: 250px; height: 980px;} a:link {color:white; text-decoration:none; font-size:25px;} a:hover {color:black; text-decoration:underline;} a:visited {color:white} #Home{position:absolute; top:10px; left:15px;} a#active { color: black; position:absolute; top:10px; left:15px;} a#About {position:absolute; top:50px; left:15px;} a#Info {position:absolute; top:90px; left:15px;} a#Contact {position:absolute; top:130px; left:15px;} .nav {position:absolute; top:15px; left:400px; width:1300px; height:50px; background-color:#A21111;} .infobox {position:absolute; top:100px; left:444px; width:1200px; height:750px; background-color:#A21111;} .text {position:absolute; top:1px; left:1px; border: 2px solid #870505; height:300px; width:400px;} h1{padding: 2px; font: 20px Palatino Linotype; color: #white;} p {color:white; margin-top:10px; text-indent:25px;}[/CODE] As is said, it's my first website and im just trying to get better on coding so pleaase no hate on the code but you can give me ideas on what i should change/add, and ofc i would be nice if you could answere my question and show me how to do next time i code :) [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Software Development
Programming
Programming Q&A
My website looks strange on a smaller resolution
Top