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.

GregF

Members
  • Joined

  • Last visited

Reputation Activity

  1. Like
    GregF reacted to SmartPeter in Vertically Aligning <div> content   
    Please try this one:
    http://jsfiddle.net/C9P7D/3/
     
    I replaced "p" with "div" tags.
    Also, made small changes to the CSS ( area I changed should be marked by /*REGION "changed*/ and /*END REGION "changed*/)
  2. Like
    GregF got a reaction from A­­ in Content layout options   
    Finally sussed it !
     
    By simply increasing the min-height of .item, the layout has somehow corrected itself.
     
    Thanks for alll contributions to this.
  3. Like
    GregF reacted to Nillervision in Wordpress alternative   
    I my opinion there’s no absolute answer to choose WP (or any CMS) over a custom coded site.
    You will get a lot of functionality from a CMS that is very hard to program yourself. So if you need a dynamic website with calendars, blog posts and multi level admins/editors then a CMS would save you a lot of time and effort.
    If you need a more or less static site a custom coded page might be the best solution because a CMS will use a lot of unnecessary resources.
     
    From a design point of view I actually like the way that Joomla works over Wordpress because it allows you to create the entire layout as custom html/css with your own classes and identifiers.
    Once your html/css page is done you just paste some “joomla code” in to the sections where you want the dynamic content. That makes it very easy to convert custom html to Joomla.



  4. Like
    GregF reacted to Wickham in Image positioning   
    I think that's a good use of display: table; and display: table-cell which will center images of different heights like a table and create different rows.
     
    However, display: table; doesn't work in old IE browsers.
     
    Display:table can be applied to any element, like a div, and is the modern way to do what a table can do with more flexibility.
  5. Like
    GregF reacted to Lyndsey in Image positioning   
    Here you go GregF, a little example for you: http://jsfiddle.net/LyndseyB/AaP44/
     
    I removed the img id's. You don't really need to use an ID for each image. You're better off using a class so that you don't have to repeat styles.
     
    Also, I wrapped the images inside a container called img-container. I set the container to 100% width and then used the container element to set the images inside it using the CSS:
    .img-container img { /* THIS TARGETS ANY <IMG> TAGS INSIDE <DIV CLASS="img-container"> */ }  
    I then used the CSS to set the image floated left with a width of 48% ( I left 1% for margin to left and right of both images which totals 100% ) relative to the container which allows 2 images to sit side by side, with the next two beginning underneath. Using percentages, the div also becomes responsive. Try making that result window smaller; the images will decrease in size accordingly.
     
    Hope this makes sense!
     
    For example: say I want to display three images in a row, I'd use:
     
    .img-container img { float:left; margin:2%; /* EQUALS 12% FOR EACH IMG (LEFT AND RIGHT MARGIN COMBINED) */ width:29.33333%; /*88% divided by 3 */ }  
    Live Example: http://jsfiddle.net/LyndseyB/8StL6/
     
    If you have any questions, feel free.
     
    Lyndsey.
  6. Like
    GregF reacted to Lyndsey in Image positioning   
    In this case, you could remove the % width from the CSS and just use a clear:left; on the image you want to move to the new line. For example:
     
    http://jsfiddle.net/LyndseyB/8StL6/1/
     
    The clear:left just means that I don't want anything to be displayed to the left of the image, which enforces a new line for that particular image. So for the third image in the list, I've just used <img class="clearl"> to force it to the new line. Maybe not the best way of doing it but it works
     
    But remember, when using varying image sizes, be aware that if the two images combined are greater than the width of their container, the images will drop down accordingly.
  7. Like
    GregF reacted to Tieskevo in New Laptop   
    Lets start with the most difficult question first. Is a macbook really worth its price? short answer: in my opinion yes. the long answer can be found by reading the mac vs pc topic here on the forums. In the end it all comes down to if you find the price worth a mac.
     
    as for advise on buying a laptop, since you told us you dont have the budget for a macbook pro. I'm gonna tell you something that might not really help you at first.
     
    my advise is. look at your budget and look for the best specs you can within your price range.
     
    You can get a really decent laptop for around 800 here. I wouldnt know about the prices in the UK really.
     
    and last but not least; Do you really need a laptop? you can get a much more powerful desktop for the price of a good laptop.
  8. Like
    GregF reacted to CTK501 in Font Compatibility   
    One of the more experienced members here may be able to answer this better, but i'll give it a go for you.
    Web Safe Fonts used to be a much bigger problem than it is now. In previous years, the use of Web Safe Fonts ensured you were using a font that was guaranteed to be compatible in all browsers etc. It is still common practice to use a family of fonts to fall back on like so {font-family:"Times New Roman", Times, serif} however the use of Google Web Fonts ensures compatibility across modern browsers, without requiring the user to have the font previously installed on their system.
     
    Google Web Fonts currently supports
     
    Google Chrome: version 4.249.4+ Mozilla Firefox: version: 3.5+ Apple Safari: version 3.1+ Opera: version 10.5+ Microsoft Internet Explorer: version 6+ Android 2.2+ and iOS 4.2+ That should have you fairly well covered, but it's always good practice to have a fall back font like i previously said.
    The only things that should still be considered is the fact that the Web Font Still has to download to be displayed, this happens automatically and is then cached in the browser. Many of your users may already have your font cached, as Google Web Fonts is quite popular now, however if the user does not have it on first visit they may experience a flash of un-styled text, until the font downloads and applies.
     
    I hope that has answered your question and i look forward to hearing and responses from the more experienced users on here. Good Luck
  9. Like
    GregF reacted to Lyndsey in Most efficient button method   
    Here you go Greg, tweaked it a little: http://jsfiddle.net/LyndseyB/Nmqf5/3/
     
    To remove the white space before the navigation, do what ties says above and use a CSS reset (he provided a link). This sets all margins and paddings to 0 so that all browsers are consistent and apply the same rules. For the example I've given you, I've simply set both padding and margin to 0 in the body CSS selector. To vertically align the navigation links to the center, I took off the height attribute of the navigation and applied a padding to the list items (10px) which applies 10px to both the top and bottom of the navigation block, positioning the elements to the center. Just editing to add: I removed the padding-right:100px from your CSS as that was causing some of the links to be pushed off the page and not displayed in your navigation.
     
    Let me know if you need any more help
    Lyndsey.
  10. Like
    GregF reacted to Jack in Most efficient button method   
    Something like http://jsfiddle.net/HDeSM/?
  11. Like
    GregF reacted to Tieskevo in Most efficient button method   
    use an unsorted list.

    <ul> <li>button </li> </ul> every button a seperate li
  12. Like
    GregF got a reaction from Jo 90 in background image   
    Sorted guys I had the image saved in the wrong folder !

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.