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.

mihogoth

Members
  • Joined

  • Last visited

Everything posted by mihogoth

  1. It's a very attractive site and easy to use, but with a background image pushing 1mb it can take ages to load - not all of us are privileged with fast broadband speeds. Try some image optimisation or alternative formats (would an .svg work?)
  2. Thanks, I thought it might be something along those lines, going by QuirksMode CSS Comparison it seems to be pretty much the least cross-browser compatible way I could do this - only by pure fluke is it working in anything but Firefox! I did originally apply a separate "odd" and "even" class to the <li> but I was after something more elegant, but it's obviously a little too early for that, so I will have to revert to the clunky class method. I try to stay away from images and JavaScript as much as possible - save on bandwidth, scaling issues, but I'll give it a go, see if something I like works.
  3. My current favourite is E - TextEditor. but I also have Notepad++ installed (my predecessor to E) but that will soon be deleted. The only gripes I have with E are the web preview uses IE8 (as far as I can tell) and there is no option that I have found yet that allows me to format my code. I also have Dreamweaver CS4 for the odd occasion where I steal compressed CSS and need to format it... Really should find something better.
  4. I've dabbled with Xubuntu, Ubuntu, Mint Linux, Kubuntu,, Fedora and more over the last couple of months, and whilst I like them a lot, I just keeping returning to Windows, either XP MCE or now Windows 7 RC. There are lots of little things that are great about the various Linux distros; the fact that a lot of things just work and there are some pretty cool apps for them, but they just aren't that user friendly or stable in my experience. Linux would have stood a chance a couple years back with me, but now I have used Windows 7 I'm not looking back. I have only ever occasionally used Mac, but I simply don't agree with their claims (ie. security, reliability etc), and find that they only have a small handful of programs that are better than those available for Windows or Linux. Coupled with the price and hardware limitations I have stayed well clear.
  5. I currently have a dual monitor setup: 28" 1920x1200 Hanns.G HG281: cheap and cheerful - ideal for coding, general work, movies etc. 19" 1280x1024 Dell 1905FP: was way more expensive than the Hanns.G, crappy response time (20ms) but the panel has superb colours.
  6. For my day to day browsing I always use Firefox (3.5), every time I go to something else (usually Chrome) I end up crawling back. But I have installed for testing purposes: IE8 Chrome Opera 9 Safari 4 I'm not a fan of having loads of browsers vying for control of my internet needs, so I keep it down to a reasonable minimum. So, 5
  7. Hi, I'm new here and am looking to move from another forum (more general computing forums) to these as my main web development ones. To start off I have a bit of a question Using the code appended I am able to create the following ordered list: The css code for the actual <ol> structure is: /* custom style for code */ ol.codeSnip { color: #555; background-color: #edd; font-family: Consolas, Lucida Console, Monaco, monospace; font-size: 1em; border: 1px solid #bbb; border-left: 4px solid #ac6; margin: 0em 0em 0em 2em; padding: 0em 0em 0em 5em; letter-spacing: 0em; overflow: auto; } .codeSnip li:nth-child(odd), .codeSnip li:nth-child(even) { font-family: Consolas, Lucida Console, Monaco, monospace; margin: 0em; padding: 0.2em 0em 0.2em 1em; border-left: 1px solid #bbb; letter-spacing: 0.1em; white-space: pre; } .codeSnip li:nth-child(odd) { background-color: #eee; } .codeSnip li:nth-child(even) { background-color: #f5f5f5; } Using the following html (please ignore the span classes): <ol class="codeSnip"> <li><span class="commentTag"><!-- this is a comment --> /* hello */</span></li> <li>some text</li> <li><span class="normalTag"><html></span></li> <li><span class="propertyTag"> $port = </span><span class="valueTag"> 22px</span></li> </ol> There are two issues I am having with this code, first is with scrollable content. At the moment when I have exceeded the width of the codeSnip area it adds a scrollbar, which is fine, but when I scroll across that area no longer retains the relevant <li> style (ie. odd or even) rather it it seems default back to the original <ol> style (ie. the darker background), as can be seen in the following picture: How can I overcome this? Secondly is a problem with IE; I have tested my code in Firefox, Safari, Opera, Chrome and IE and only in IE does it fail to render the striped lines correctly. Is there an easy IE hack to get around this as I want to leave the code as free of extra classes and tags as possible. I have got a version where I alternately classify each element as odd or even, but I'd rather not have to do that. Finally if you would like to critique my code I'd be grateful - I'm only just getting back into web design (html, css, php, mysql) after quite a hiatus, namely 5yrs of university doing a Civil Engineering degree, so I am somewhat rusty.

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.