Jump to content

WolfLord Skywalker

Members
  • Posts

    26
  • Joined

  • Last visited

WolfLord Skywalker's Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. So @CLHarrison I think it would help if you replaced the @media screen and (max-width: 600px) { .topnav a:not(:first-child), .dropdown .dropbtn { display: none; with <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1.0"/> <style>. perhaps it's a fitting to screen problem. Of u try it and/or make any breakthrougs tell me.
  2. @CLHarrisonI'll see if I caif work on some code based on that and get back to ya
  3. Another thing I suggest is tweaking the float variable. Tell me how it works out
  4. @CLHarrison more examples for reference <!DOCTYPE html> <html> <head> <style> body {background-color: powderblue;} h1 {color: blue;} p {color: red;} </style> </head> <body> <h1>This is a heading</h1> <p>This is a paragraph.</p> </body> </html> As you can see, by specifying that h1 should be blue when you type text in h1 it will be blue. Also this helps (forget the php for now) <!DOCTYPE html> <html> <body> <h1>The textarea wrap attribute</h1> <form action="/action_page.php"> <textarea rows="2" cols="20" name="usrtxt" wrap="hard"> At W3Schools you will find free Web-building tutorials. </textarea> <input type="submit"> </form> </body> </html> It specifies what text to be wrapped
  5. So, I think you should link each part of the page to each parameter of css. For example the way HTML has <h1>, <h2>, and <p> (different parameters), you can also link multiple divs (I hope my English isnt too complicated). For example scrap '>' and do: <!DOCTYPE html> <html> <head> <style> div.ex1 { width: 500px; margin: auto; border: 3px solid #73AD21; } div.ex2 { max-width: 500px; margin: auto; border: 3px solid #73AD21; } </style> </head> <body> <h2>CSS Max-width</h2> <div class="ex1">This div element has width: 500px;</div> <br> <div class="ex2">This div element has max-width: 500px;</div> <p><strong>Tip:</strong> Drag the browser window to smaller than 500px wide, to see the difference between the two divs!</p> </body> </html> The div ex1 specifies the particular part of html to act on
  6. Ok cool. Hope atom works out. As for the phone thing, I've tries it too and it's really annoying. Phone's can't process filepaths, no matter how specific you are. You have to work with pc's. Again I wish you good luck with atom and css
  7. I think the thing to do would be to specify the width directly as shown here <h2>HTML Image</h2> <img src="pic_trulli.jpg" alt="Trulli" width="500" height="333"> For alignment, I strongly advise not using word or wordpad, as it will alter the code. If the <br> doesn't help I'm not sure what will but I'll keep looking. As for the forum, php and mysql is a great option. I'm obsessed with them. However, w3schools only provides a one-way chat system. For the full tutorial, I hope these help: https://dev.to/bhupendra1011/build-a-chat-application-in-javascript-194p https://css-tricks.com/jquery-php-chat/
  8. Or just replace <body> with this body {background-color: coral;}
×
×
  • Create New...