Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

yy1993

Members
  • Joined

  • Last visited

Everything posted by yy1993

  1. Solved. Thread closed.
  2. Hey Wickham, I've sent you a PM, see if you've received it. Thanks.
  3. Or did you guys meant to create a "reset.css" with the ul, li { margin: 0; padding: 0; } ? Then in my HTML, I'll need to include the reset.css?
  4. As you've quoted "a reset will make browsers the same but probably not what you want for your page", are there still any ways to solve this? Sorry, but could you help me check this new CSS? The reset was added into the CSS, but it still didn't work for me. Slight changes I've made: Different image link & some shadows, so you guys might wanna ignore those. The rest are all the same, just that I added in the reset. The reset has been bold in the CSS, which you guys told me to add in. body { font-family: Helvetica Neue, Helvetica, Arial; color: #ffffff; font-size: 14px; background: #1f1f1f; } a:link, a:active, a:visited { text-decoration: none; color: #ffffff; } a:hover { text-decoration: underline; color: #ffffff; } .top-menu { display: block; width: 1260px; margin: 0 auto; } /* Navigation */ [b].nav ul, li { margin: 0; padding: 0; }[/b] .nav { background: url(../images/main/menu-bg.png) left top repeat-x; float: left; width: 100%; display: block; margin-left: 0px; margin-top: 15px; margin-bottom: 15px; padding: 15px; } .nav li { text-indent: none; display:inline; } .nav li a { color: #ffffff; display: block; float: left; font-size: 18px; text-align: center; padding: 3px 15px; margin-right: 15px; border-bottom: 1px solid #141414; } .nav li a:hover, .nav li a.selected { color: #5e5e5e; text-decoration: none; } .nav li a.selected { background: #ffffff; border: 1px solid #1F1F1F; -moz-border-radius: 15px; -webkit-border-radius: 15px; text-shadow: 1px 0px 1px #563314; overflow: hidden; } #footer { clear: both; font-size: 12px; text-align: center; color: #5e5e5e; }
  5. Nope, tried them, not working for me. Thanks anyway.
  6. Er, I'm not sure. I just wrote the basics out, then slowly add on with my <ul> tags and its following classes.
  7. Hi guys, Sorry for opening yet another thread on WDF. I'm still trying with some designing via CSS. My previous thread was solved thanks to empek. Now, here's an attached image below. I've an unwanted area beside my navigation menu (the red box area), as shown in the image. My current CSS is: body { font-family: Helvetica Neue, Helvetica, Arial; color: #ffffff; font-size: 14px; background: #1f1f1f; } a:link, a:active, a:visited { text-decoration: none; color: #ffffff; } a:hover { text-decoration: underline; color: #ffffff; } .top-menu { display: block; width: 1260px; margin: 0 auto; } /* Navigation */ .nav { background: url(../images/menu-bg.png) left top repeat-x; float: left; width: 100%; display: block; margin-top: 15px; margin-bottom: 15px; padding: 15px; } .nav li { display:inline; } .nav li a { color: #ffffff; display: block; float: left; font-size: 18px; text-align: center; padding: 3px 15px; margin-right: 15px; border-bottom: 1px solid #141414; } .nav li a:hover, .nav li a.selected { color: #5e5e5e; text-decoration: none; } .nav li a.selected { background: #ffffff; border: 1px solid #1F1F1F; -moz-border-radius: 15px; -webkit-border-radius: 15px; } #footer { clear: both; font-size: 12px; text-align: center; color: #5e5e5e; } I don't understand where's the blank area (the red box area), found in my CSS. I hope that my .nav's padding will remain the same, unless it's required for me to change, so as to remove the area. Thanks, and I hope I've not bothered any of you for asking so much questions!
  8. yy1993 replied to yy1993's topic in Frontend
    Thanks a lot! You've helped me. +1!
  9. yy1993 replied to yy1993's topic in Frontend
    Sorry, once again, guys. Is it just me, or can you guys see the "lines" at the edge of the border? I've changed my border color to that of my background, and it's still not that great as I want it to: I wanted to make the border something just like the Learn More from http://openatrium.com/, which is beautiful. Right now, by looking at mine, it isn't that beautiful at all, more of ugly, right? Sorry if I'm bothering you guys.
  10. yy1993 replied to yy1993's topic in Frontend
    Wow, Empek! Thanks a lot! Seriously, I'm still confused by how margin, float & padding works, so does my classes. Thanks for solving my problems
  11. yy1993 replied to yy1993's topic in Frontend
    Alright, thanks empek! Btw, I have another question. So my new CSS will now be: body { font-family: Helvetica Neue, Helvetica, Arial; color: #ffffff; font-size: 14px; background: #1f1f1f; } a:link, a:active, a:visited { text-decoration: none; color: #ffffff; } a:hover { text-decoration: underline; color: #ffffff; } .top-menu { width: 1260px; margin: 0 auto; } /* Navigation */ .nav { float: left; display: block; margin-top: 20px; } .nav li { display:inline; } .nav li a { color: #fffff; padding: 0px 25px 0px 0px; display: block; float: left; font-size: 16px; } .nav li a:hover, .nav li a.selected { color: #5e5e5e; text-decoration: none; } .nav li a.selected { background: transparent; border: 1px solid #ffffff; -moz-border-radius: 10px; } #footer { clear: both; font-size: 12px; text-align: center; color: #5e5e5e; } As you can see below, the image, my Home has a huge space at the right. Can someone guide me on aligning the Home and the rest to the center of the border? Thanks a lot!
  12. yy1993 replied to yy1993's topic in Frontend
    So, my question was to make sure that the "selected" class will show the rounded border, with empek's post, the border only shows when I hover over. Even after I altered part of the code to this: .nav li a:hover, .nav li.selected a { color: #5e5e5e; text-decoration: none; } .nav li a.selected { background: #1f1f1f; border: 1px solid #ffffff; -moz-border-radius: 10px; } It didn't work. Anyone can point to me what's wrong?
  13. yy1993 replied to yy1993's topic in Frontend
    Hmmm, thanks for pointing out to me. I'll figure some things out before I check back. Thanks.
  14. yy1993 replied to yy1993's topic in Frontend
    Not working, wonder why.
  15. yy1993 replied to yy1993's topic in Frontend
    My full CSS is now this, after making changes as what you said: body { font-family: Helvetica Neue, Helvetica, Arial; color: #ffffff; font-size: 14px; background: #1f1f1f; } a:link, a:active, a:visited { text-decoration: none; color: #ffffff; } a:hover { text-decoration: underline; color: #ffffff; } .top-menu { width: 1260px; margin: 0 auto; } /* Navigation */ .nav { float: left; display: block; margin-top: 20px; } .nav li { display:inline; } .nav li a { color: #fffff; padding: 0px 25px 0px 0px; display: block; float: left; font-size: 16px; } .nav li a:hover, .nav li.selected a { color: #5e5e5e; text-decoration: none; -moz-border-radius: 10px; } #footer { clear: both; font-size: 12px; text-align: center; color: #5e5e5e; } It still didn't work for me.
  16. yy1993 posted a topic in Frontend
    Hi guys, I'm using the "<ul><li></li></ul>" method for inline navigation menu. I want to have a rounded border for a current selected page. Don't mind helping me check what's wrong with me code? CSS .top-menu { width: 1260px; margin: 0 auto; } .nav { float: left; display: block; margin-top: 20px; } .nav li { display:inline; } .nav li a { color: #fffff; padding: 0px 25px 0px 0px; display: block; float: left; font-size: 16px; } .nav li a:hover, .nav li a.selected { color: #5e5e5e; text-decoration: none; -moz-border-radius: 10px; } HTML <div class="top-menu"> <ul class="nav"> <li><a class="selected" href="home.html">Home</a></li> <li><a href="about.html">About Me</a></li> <li><a href="works.html">Works</a></li> <li><a href="contact.html">Contact</a></li> </ul> </div>
  17. Alright, thanks for that rallport!
  18. Hi guys, it's being a while since I last posted. Anyway, I'm still learning, and am interested about how yoururl.com/download.php works. I would like to know: - how to start writing the script - how did they encrypt the download.php such that there's download.php?12asidad123123=adknad (I don't know how it goes) - how to add download count If you think I'm lazy, please guide me along on searching correctly on Google, because I don't really know how to enter all these into Google terms. I hope not to get any flamings here about my thread, thanks WDF community!
  19. yy1993 replied to yy1993's topic in General Chat
    Congrats Sam! Sup Meshach!
  20. I don't even know any of them for my birthdate.
  21. Addictive game!! Nice game there!! I only got 17k though
  22. yy1993 replied to yy1993's topic in General Chat
    Thanks Sam! So, how's the community recently?
  23. OMG, I gotta find categories from now on. Thanks for informing me!
  24. Twitter isn't that "crazy" in Singapore though. Lots of teenagers are still stuck with Facebook in Singapore, here. One thing for sure, I got a feeling that Friendster will be very soon, gone.
  25. yy1993 posted a topic in General Chat
    Wassup guys! How have you guys been? It's been so long since I last checked back to WDF.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.