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.

TheJCD

Members
  • Joined

  • Last visited

Reputation Activity

  1. Like
    TheJCD reacted to BlueDreamer in How do you recreate this in HTML & CSS?   
    Wrap the input in a containing element?
     
    <div class="phone"> <input type="tel" id="tel" name="telephone" class="phone-input"> </div> Then some CSS such as...
     
    /* container border, background etc */ .phone { padding: 1em; border: 1px solid #333; border-radius: 12px; } /* input field */ .phone-input { text-indent: 30px; background: transparent url(phone-icon.png) no-repeat left; // add phone icon border: 0; // get rid of default input border }
  2. Like
    Float:right would be the best property you could apply, assuming you used it right. You could also relatively/absolutely position your div with the nav in it, or given that it's at the top, fixed may also be an option.
     
    I would recommend (off the top of my head with no experimentation, something like this:
     
    <header> <div class="container"> <div id="logo">YOUR LOGO</div> <div class="floating-right"> <nav> Your navigation </nav> </div> <div class="clearfix"></div> </div> </header> Where clearfix is the property to clear all floats from potentially screwing up things down the line.
     
    Floating-right is just whatever you want with float:right; applied to it.
     
    ID Logo isn't anything in particular.
     
    Hope this helps you out a little bit. Don't forget to use containers so you're not going full width.. unless that's what you want.
     
     
     
    OH. And to style the way it looks. You'll probably want to use a <ul> and <li> elements for the actual nav part of it all. Style your <ul> with no padding or margins (if thats the look you want to go for, but make sure to put "display:table" in the <ul>s properties. Then, for each <li> element, have "Display:table-cell; width:1%;" and that should automatically size every <li> to fit your nav.
     
    I'm sure i've missed out some properties but that'll set you on your way.
  3. Like
    TheJCD reacted to teodora in PSD to HTML - Don't want it in tables. Help ASAP   
    Yes, basically you need to re-create the design with HTML and CSS. Any generated code wouldn't be semantic, it needs a human touch
  4. Like
    You will need to use the slice tool in photoshop to extract images
     
    But, before you do that, stop and think
    How much of certain parts will you need?
     
    You don't need fonts, colours and shadows because those can be done in CSS, you may not need the whole of some images if it's a repeating pattern for example.
     
    The sequence is to slice it and then using divs with CSS create your website, stay well away from tables unless it's for tabular data, like scores for example.

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.