Dagnabbit! So now I've got to learn XHTML, Doctypes AND CSS?! UURRRGH!!!

Page: 12 > Showing page 1 of 2
Author
Beepster
Max Output Level: 0 dBFS
  • Total Posts : 18001
  • Joined: 2012/05/11 19:11:24
  • Status: offline
2014/08/29 10:02:58 (permalink)

Dagnabbit! So now I've got to learn XHTML, Doctypes AND CSS?! UURRRGH!!!

I'm delving into webdesign for some stuff I'm working on. I figured I'd give myself a crash course/refresher on html and keep things simple. I don't like unnecessarily fancy/bloated websites and certainly wouldn't design a site that way. Also html is easy as shizzing and USED to be able to do what I want. Now I'm finding out that I have to learn XHTML which is fine... just seems to mostly be about proper nesting and stuff which  I'd do anyway BUT it also seems to require some special code at the top for DOCTYPE and it looks like there's a crapload of them for different purposes. THEN I find out W3 has decided for HTML5 to drop support for many of the common formatting options I'm used to and was going to use like center and fonts and align and whatnot. You're supposed to use CSS (stylesheets) for formatting which is a completely other coding language. I'm also getting the impression that style sheets won't load properly if the user uses NoScript (like I do) and doesn't want to allow the main domain (or wherever the stylesheet lives).
 
On top of THAT I have never been able to get the Alt Char funtion on this laptop to work properly and of course the little squiggly brackets used in CSS are Alt Characters.
 
Sonnova fwaaaaagggakakakakaka!!!!!
 
*sigh*
 
I'm probably over thinking this and maybe I can get away with just sticking to XHTML fundamentals but I would HATE to write a massive website only to have it start going wonky with new browsers in the future.
#1

55 Replies Related Threads

    bapu
    Max Output Level: 0 dBFS
    • Total Posts : 86000
    • Joined: 2006/11/25 21:23:28
    • Location: Thousand Oaks, CA
    • Status: offline
    Re: Dagnabbit! So now I've got to learn XHTML, Doctypes AND CSS?! UURRRGH!!! 2014/08/29 10:06:05 (permalink)
    And here I thought my little PHP5 problem was a roadblock.
    #2
    Beepster
    Max Output Level: 0 dBFS
    • Total Posts : 18001
    • Joined: 2012/05/11 19:11:24
    • Status: offline
    Re: Dagnabbit! So now I've got to learn XHTML, Doctypes AND CSS?! UURRRGH!!! 2014/08/29 10:10:31 (permalink)
    Oh yeah... I "forgot" I have to learn all the server stuff too like databases and FTP but that looks simple enough when using a host. Building my own server looks interesting but a LOT of work with lots of potential for epic failure.
     
    Ain't nobody got time for that.
     
    Edit: And as nice and fuzzy sounding as those webdesign programs look I a) really want to learn how to do all this with a simple text editor and b) I'm a little wary of what kind of superfluous gack those programs might put in that could cause problems. I want to keep things so simple as far as the actual code that I can convey a ton of info but still allow Joe Mountainman with a painfully slow connection and a computer made from rocks and twigs to be able to load it reasonably quickly. Just text, tables and links. Maybe Show/Hide buttons or a separate version of the site for embedded stuff like pictures, audio and/or video that relate to the text.
    post edited by Beepster - 2014/08/29 10:13:55
    #3
    sharke
    Max Output Level: 0 dBFS
    • Total Posts : 13933
    • Joined: 2012/08/03 00:13:00
    • Location: NYC
    • Status: offline
    Re: Dagnabbit! So now I've got to learn XHTML, Doctypes AND CSS?! UURRRGH!!! 2014/08/29 10:33:12 (permalink)
    I couldn't imagine creating a web page without CSS now, it makes things so much easier. I wouldn't call it a coding language, you're just setting out styles. However the biggest complication is likely to be the differences by which each browser interprets styles. There are differences of a few pixels here and there which can really frustrate you. However once you've learned the basics of CSS then look into using the 960 Grid system. It's a downloadable set of CSS styles which help with your layout and fix browser issues so you don't have to think about them.
     
    You don't need web design programs at all, in fact I feel like they're a hindrance more than anything. I've used Dreamweaver before but only as a fancy text editor - it has some nice project management tools. Really all you need is Notepad++ - it's a very good free editor for coding which colors your code as you write it and knows how to indent properly etc.

    James
    Windows 10, Sonar SPlat (64-bit), Intel i7-4930K, 32GB RAM, RME Babyface, AKAI MPK Mini, Roland A-800 Pro, Focusrite VRM Box, Komplete 10 Ultimate, 2012 American Telecaster!
    #4
    Beepster
    Max Output Level: 0 dBFS
    • Total Posts : 18001
    • Joined: 2012/05/11 19:11:24
    • Status: offline
    Re: Dagnabbit! So now I've got to learn XHTML, Doctypes AND CSS?! UURRRGH!!! 2014/08/29 10:38:21 (permalink)
    When you use something like MS Word or OpenOffice (I'll probably be using the latter if I decide to use a word processing for webpage formatting to speed things up) and use the Save As Webpage option does it use CSS to insert the formatting or the HTML 4 tags?
     
    Guess I could just try it out later but I only have OpenOffice (not spending money on MS crap).
    #5
    dubdisciple
    Max Output Level: -17 dBFS
    • Total Posts : 5849
    • Joined: 2008/01/29 00:31:46
    • Location: Seattle, Wa
    • Status: offline
    Re: Dagnabbit! So now I've got to learn XHTML, Doctypes AND CSS?! UURRRGH!!! 2014/08/29 12:04:20 (permalink)
    Once you get used to using css you will find the old way pretty inefficient and less functional. Particularly if you need to make wholesale changes to style of entire site. Noscript is not affected at all by css. If it was very few sites would work with it since every major site I know of uses them. Sites have too much dynamic data to work properly without css.

    Btw, word processing programs tend to spit out awful code that takes more work to make compliant than if you had just created decent code from scratch.
    #6
    sharke
    Max Output Level: 0 dBFS
    • Total Posts : 13933
    • Joined: 2012/08/03 00:13:00
    • Location: NYC
    • Status: offline
    Re: Dagnabbit! So now I've got to learn XHTML, Doctypes AND CSS?! UURRRGH!!! 2014/08/29 12:15:52 (permalink)
    I honestly don't think saving Word or Open Office documents as web pages will give very good results - you're just going to get a basic HTML page. I don't think it creates a CSS file. The trouble with this is that should you want to change the style of a common page element later (presuming you're going to be making multiple pages) then you're going to have to go into each page separately and change it. Whereas when you have a CSS style sheet then if say you want to change the size and color of all main titles, you just make a quick adjustment to the global style and all of your pages are fixed. I guarantee you'll be able to get the basics down in an afternoon.

    James
    Windows 10, Sonar SPlat (64-bit), Intel i7-4930K, 32GB RAM, RME Babyface, AKAI MPK Mini, Roland A-800 Pro, Focusrite VRM Box, Komplete 10 Ultimate, 2012 American Telecaster!
    #7
    Beepster
    Max Output Level: 0 dBFS
    • Total Posts : 18001
    • Joined: 2012/05/11 19:11:24
    • Status: offline
    Re: Dagnabbit! So now I've got to learn XHTML, Doctypes AND CSS?! UURRRGH!!! 2014/08/29 12:17:32 (permalink)
    dubdisciple
    Once you get used to using css you will find the old way pretty inefficient and less functional. Particularly if you need to make wholesale changes to style of entire site. Noscript is not affected at all by css. If it was very few sites would work with it since every major site I know of uses them. Sites have too much dynamic data to work properly without css.

    Btw, word processing programs tend to spit out awful code that takes more work to make compliant than if you had just created decent code from scratch.



    Good to know. I'll probably just create my own HTML templates and reuse them as needed. I'll read up more on CSS and learn it too but so far I know basic HTML will do everything I need it to. My only concern are the articles stating that HTML5 won't "support" those tags. I mean I figured if I followed HTML 4.1 rules it would be backwards compatible pretty much forever but if that is NOT the case then I need to know so once I start creating the templates I'm not designing something that'll need a full overhaul in the future.
     
    The other reason I want to use HTML 4.1 exclusively if possible is so people using older browsers can do so. If newer browsers are gonna get cranky about it... well that's gonna make me cranky. Also if I'm "validating" my pages through W3's tool and it throws compliance errors because I used a center tag or whatever instead of CSS even though it WILL work in perpetuity... well that's gonna be really annoying.
    #8
    Beepster
    Max Output Level: 0 dBFS
    • Total Posts : 18001
    • Joined: 2012/05/11 19:11:24
    • Status: offline
    Re: Dagnabbit! So now I've got to learn XHTML, Doctypes AND CSS?! UURRRGH!!! 2014/08/29 12:36:17 (permalink)
    sharke
    I honestly don't think saving Word or Open Office documents as web pages will give very good results - you're just going to get a basic HTML page. I don't think it creates a CSS file. The trouble with this is that should you want to change the style of a common page element later (presuming you're going to be making multiple pages) then you're going to have to go into each page separately and change it. Whereas when you have a CSS style sheet then if say you want to change the size and color of all main titles, you just make a quick adjustment to the global style and all of your pages are fixed. I guarantee you'll be able to get the basics down in an afternoon.



    Again, good to know and I appreciate that you guys are offering me some experienced input on this because it is important to me. I guess currently I'm forcing myself through the very fundamentals of it all specifically to learn/practice and after a lot of thought and prep over the years I've got a vision as to how I'd like it all to work/look and it is as absolutely basic as it can get so as not to have any distractions or hindrances to the content itself. If I find that I can use the 4.1 tags and have them be future ready for whatever the browser programmers tinker with then I'll stick with that and consider it like a book. If it was done right the first time there will be no need to change it. I think for my vision the most important thing will be making sure each and every page can access a site map (which seem to have gone out of fashion for some reason). 
     
    Then all the content will already be there and if I decide to build a fancier version down the road I should, in theory, be able to copy/paste the meat of it all and code around that.
     
    I don't like fancy though. I actually hate it. The only thing I really want to be fancy about is perhaps a mobile version at some point.
    #9
    dubdisciple
    Max Output Level: -17 dBFS
    • Total Posts : 5849
    • Joined: 2008/01/29 00:31:46
    • Location: Seattle, Wa
    • Status: offline
    Re: Dagnabbit! So now I've got to learn XHTML, Doctypes AND CSS?! UURRRGH!!! 2014/08/29 12:47:59 (permalink)
    Keep in mind that html 4 was often used in a way that required lots of hacks and workarounds. In fact backwards compatibility is a much bigger problem with html 4 documents than xhtml. Older browsers will read xhtml just fine because it is very basic and clean code with no hacks. With html 4 different broswers and device s have very unpredicatble results due to the very different ways each handles the hacks necessary for formatting layout. I remember the nightmares I used to have getting sites to look the same using firefox, IE and Safari. The really awesome thing about seperating content from style is that you can make the most basic layout or the most elaborate without touching your html. Same thing goes for platforms. I used to basically design three sites and embed a browser detection script. Pain in the you know what and hellish to make changes.
    #10
    Beepster
    Max Output Level: 0 dBFS
    • Total Posts : 18001
    • Joined: 2012/05/11 19:11:24
    • Status: offline
    Re: Dagnabbit! So now I've got to learn XHTML, Doctypes AND CSS?! UURRRGH!!! 2014/08/29 13:03:31 (permalink)
    dubdisciple
    Keep in mind that html 4 was often used in a way that required lots of hacks and workarounds. In fact backwards compatibility is a much bigger problem with html 4 documents than xhtml. Older browsers will read xhtml just fine because it is very basic and clean code with no hacks. With html 4 different broswers and device s have very unpredicatble results due to the very different ways each handles the hacks necessary for formatting layout. I remember the nightmares I used to have getting sites to look the same using firefox, IE and Safari. The really awesome thing about seperating content from style is that you can make the most basic layout or the most elaborate without touching your html. Same thing goes for platforms. I used to basically design three sites and embed a browser detection script. Pain in the you know what and hellish to make changes.



    Well from my rudimentary understanding of XHTML it looks like it takes the rules of regular HTML and enforces them which I'm okay with because I don't want to/wouldn't be sloppy about things anyway. The DOCTYPE stuff will take some study but I'm sure that won't be TOO hard (I hope). It's the CSS that worries me. The code looks more complex and since it's newer I have this bad feeling that it's going to get screwed with thus potentially breaking any sites I use it on.
     
    It does look convenient for certain things but to me those things are mostly frivolities considering how I've been planning to grunt my way through this. I'll be doing a lot of dummy ups of my pages to see what works and what doesn't for my needs but if I can avoid doing anything beyond regular old school tags I certainly will.
     
    I guess my biggest problem is trusting the W3 folks from "helpfully" buggering up all my hard work by encouraging the browser programmers to change how things are read. I'm looking for a sure bet. A code it and forget it type deal. 4.1 so far seems like that bet... except now I see this silliness of "not supported by HTML5" nonsense on the tag reference pages. I'll just have to read more I guess.
    #11
    craigb
    Max Output Level: 0 dBFS
    • Total Posts : 41704
    • Joined: 2009/01/28 23:13:04
    • Location: The Pacific Northwestshire
    • Status: offline
    Re: Dagnabbit! So now I've got to learn XHTML, Doctypes AND CSS?! UURRRGH!!! 2014/08/29 13:13:44 (permalink)
    I just created both a marketing website from scratch and got a forum up and running from scratch.
     
    Basically, I'm just doing a lot of scratching for very little scratch. 

     
    Time for all of you to head over to Beyond My DAW!
    #12
    Beepster
    Max Output Level: 0 dBFS
    • Total Posts : 18001
    • Joined: 2012/05/11 19:11:24
    • Status: offline
    Re: Dagnabbit! So now I've got to learn XHTML, Doctypes AND CSS?! UURRRGH!!! 2014/08/29 13:29:52 (permalink)
    craigb
    I just created both a marketing website from scratch and got a forum up and running from scratch.
     
    Basically, I'm just doing a lot of scratching for very little scratch. 




    Well if I had the dough (or if I end up acquiring some dough) for consultant compensation I could definitely use an experienced hand guiding me with my adventures. For now I gotta hack through the basics to get a handle on WTF all this crud is about and how to cram my square peg ideas into this round hole called the intertubes. Gonna be a lot of notepad mockups, Save(s) As HTML (or I guess XLM?) and "Open With X browser" to see how it all looks.
     
    The nice thing is I already have a ton of content and templates in Notepad which was actually a fortunate newbie accident. I just liked working with it better for writing as opposed to rich text. I just need to wrap tags around the stuff and it should be good to go (or so I thought until today).
    #13
    sharke
    Max Output Level: 0 dBFS
    • Total Posts : 13933
    • Joined: 2012/08/03 00:13:00
    • Location: NYC
    • Status: offline
    Re: Dagnabbit! So now I've got to learn XHTML, Doctypes AND CSS?! UURRRGH!!! 2014/08/29 13:29:56 (permalink)
    *stupid forum software*

    James
    Windows 10, Sonar SPlat (64-bit), Intel i7-4930K, 32GB RAM, RME Babyface, AKAI MPK Mini, Roland A-800 Pro, Focusrite VRM Box, Komplete 10 Ultimate, 2012 American Telecaster!
    #14
    sharke
    Max Output Level: 0 dBFS
    • Total Posts : 13933
    • Joined: 2012/08/03 00:13:00
    • Location: NYC
    • Status: offline
    Re: Dagnabbit! So now I've got to learn XHTML, Doctypes AND CSS?! UURRRGH!!! 2014/08/29 13:29:56 (permalink)
    Honestly, I would just forget about backwards compatibility and look to make the most up to date page you can. The thing about people with ancient browsers is, they're pretty much used to viewing modern pages that don't format correctly for them. I think you'll find that the vast majority of old browser users are either very old themselves, or they're using a computer at work that hasn't been updated in eons. I wouldn't worry about catering for the holdouts - they're a tiny percentage of your potential audience.

    If HTML5 is the future then just use that. As for your design, well you don't need to be "fancy" but I would definitely think about putting some effort into making it look modern and presentable. I think when people see "bare bones" web pages with old style HTML layouts and tables, they're subconsciously put off. A little effort into making some page element graphics will go a long way when you learn how to apply them to all of your pages with CSS.

    James
    Windows 10, Sonar SPlat (64-bit), Intel i7-4930K, 32GB RAM, RME Babyface, AKAI MPK Mini, Roland A-800 Pro, Focusrite VRM Box, Komplete 10 Ultimate, 2012 American Telecaster!
    #15
    dubdisciple
    Max Output Level: -17 dBFS
    • Total Posts : 5849
    • Joined: 2008/01/29 00:31:46
    • Location: Seattle, Wa
    • Status: offline
    Re: Dagnabbit! So now I've got to learn XHTML, Doctypes AND CSS?! UURRRGH!!! 2014/08/29 13:31:19 (permalink)
    The DOCTYPE stuff is not so bad since most of the the time it will be the same. CSS looks more intimidating than it is and actually makes more since after the newness wears off. I have yet to come across anyone who gave it a fair shot who quit because they could not get it. Just give it a little time :)
    #16
    Beepster
    Max Output Level: 0 dBFS
    • Total Posts : 18001
    • Joined: 2012/05/11 19:11:24
    • Status: offline
    Re: Dagnabbit! So now I've got to learn XHTML, Doctypes AND CSS?! UURRRGH!!! 2014/08/29 13:36:41 (permalink)
    sharke
    Honestly, I would just forget about backwards compatibility and look to make the most up to date page you can. The thing about people with ancient browsers is, they're pretty much used to viewing modern pages that don't format correctly for them. I think you'll find that the vast majority of old browser users are either very old themselves, or they're using a computer at work that hasn't been updated in eons. I wouldn't worry about catering for the holdouts - they're a tiny percentage of your potential audience.

    If HTML5 is the future then just use that. As for your design, well you don't need to be "fancy" but I would definitely think about putting some eff



    One specific problem that absolutely MUST be overcome is the nature of the bulk of the specific content. It absolutely HAS to display correctly. Any line out of place throws the whole thing out of whack. We're talking text based charts and graphs. It does indeed work with standard HTML but slight variations in code or formatting destroy the whole thing. Otherwise I'll have to resort to images which would crank up the bandwidth and defeat some of the brute force user functionality I have in mind.
    #17
    sharke
    Max Output Level: 0 dBFS
    • Total Posts : 13933
    • Joined: 2012/08/03 00:13:00
    • Location: NYC
    • Status: offline
    Re: Dagnabbit! So now I've got to learn XHTML, Doctypes AND CSS?! UURRRGH!!! 2014/08/29 13:43:04 (permalink)
    Beepster
    sharke
    Honestly, I would just forget about backwards compatibility and look to make the most up to date page you can. The thing about people with ancient browsers is, they're pretty much used to viewing modern pages that don't format correctly for them. I think you'll find that the vast majority of old browser users are either very old themselves, or they're using a computer at work that hasn't been updated in eons. I wouldn't worry about catering for the holdouts - they're a tiny percentage of your potential audience.

    If HTML5 is the future then just use that. As for your design, well you don't need to be "fancy" but I would definitely think about putting some eff



    One specific problem that absolutely MUST be overcome is the nature of the bulk of the specific content. It absolutely HAS to display correctly. Any line out of place throws the whole thing out of whack. We're talking text based charts and graphs. It does indeed work with standard HTML but slight variations in code or formatting destroy the whole thing. Otherwise I'll have to resort to images which would crank up the bandwidth and defeat some of the brute force user functionality I have in mind.


    That's not much of a problem - the web is chock full of pages with text based charts and graphs. When you're designing a web page you have to constantly check how it looks in all browsers (I believe there are online tools which allow you to see what it would look like in old browsers) and when oddities occur, it's a matter of researching what the issue is and fixing it. Most of these oddities are well documented and have tried and tested workarounds and hacks to get around them. Every web designer uses them. But again, this is a good reason to get to grips with CSS and use a framework like the 960 grid which has predefined styles that are designed to work in ALL browsers and has the workarounds built into them.

    James
    Windows 10, Sonar SPlat (64-bit), Intel i7-4930K, 32GB RAM, RME Babyface, AKAI MPK Mini, Roland A-800 Pro, Focusrite VRM Box, Komplete 10 Ultimate, 2012 American Telecaster!
    #18
    Beepster
    Max Output Level: 0 dBFS
    • Total Posts : 18001
    • Joined: 2012/05/11 19:11:24
    • Status: offline
    Re: Dagnabbit! So now I've got to learn XHTML, Doctypes AND CSS?! UURRRGH!!! 2014/08/29 14:02:56 (permalink)
    This is great stuff, guys.
     
    Now here's a question. Considering CSS seems to be bulkier than HTML tags does it use extra bandwidth? Does it consume extra resources on the end user's system?
     
    I ask because another reason I want to keep things simple if the fact that there is no way in heck I could afford dedicated server space or even Premium or Virtual server nonsense. So if there is any lag on the server + the end user has an underpowered system + a crappy connection I'd still like things to be as snappy as possible. I'll also be looking into things like Cloudfare to help in this regard.
     
    As far as people being put off by text based sites... well I think really the content should speak for itself and any extra distractions would actually make the site LESS appealing for those seeking that content. Might be a tough sell I guess considering how people are so used to flash and dazzle but I hope to make it all very elegant and appealing. I'm pretty good with layout and the charts are kind of dazzling on their own. It's just making them appear as they should across all platforms that could pose a challenge... but perhaps not if I stick to standards.
     
    Anyway... my rant turned into an interesting and educational thread. Thanks, dudes. You rock.
    #19
    sharke
    Max Output Level: 0 dBFS
    • Total Posts : 13933
    • Joined: 2012/08/03 00:13:00
    • Location: NYC
    • Status: offline
    Re: Dagnabbit! So now I've got to learn XHTML, Doctypes AND CSS?! UURRRGH!!! 2014/08/29 14:20:12 (permalink)
    CSS saves bandwidth by the bucketload because you have all of your site's styles encapsulated in one document, instead of being repeated on every page. When a user visits a site, the browser will load the styles once and apply them to every page on the site.

    James
    Windows 10, Sonar SPlat (64-bit), Intel i7-4930K, 32GB RAM, RME Babyface, AKAI MPK Mini, Roland A-800 Pro, Focusrite VRM Box, Komplete 10 Ultimate, 2012 American Telecaster!
    #20
    dubdisciple
    Max Output Level: -17 dBFS
    • Total Posts : 5849
    • Joined: 2008/01/29 00:31:46
    • Location: Seattle, Wa
    • Status: offline
    Re: Dagnabbit! So now I've got to learn XHTML, Doctypes AND CSS?! UURRRGH!!! 2014/08/29 14:25:19 (permalink)
    Beepster
    This is great stuff, guys.
     
    Now here's a question. Considering CSS seems to be bulkier than HTML tags does it use extra bandwidth? Does it consume extra resources on the end user's system?
     
     



     
    The answer is actually the opposite.   I hope this does not sound confusing but think of it like this:
     
    Every page styled via HTML codes requires tags for every formatting choice (color, position, font, etc) and then multiply that by every pade of that site.  For a massive site like a blogging site that means repeating the exact some code and adding that weight for every page.  With css you could theoretically define all the major formatting with one set of instructions to be applied across the page and every page for that matter by specifying once.  The larger the site, the more time and bandwidth you save. 
    #21
    dubdisciple
    Max Output Level: -17 dBFS
    • Total Posts : 5849
    • Joined: 2008/01/29 00:31:46
    • Location: Seattle, Wa
    • Status: offline
    Re: Dagnabbit! So now I've got to learn XHTML, Doctypes AND CSS?! UURRRGH!!! 2014/08/29 14:25:36 (permalink)
    looks like sharke beat me to it
    #22
    Beepster
    Max Output Level: 0 dBFS
    • Total Posts : 18001
    • Joined: 2012/05/11 19:11:24
    • Status: offline
    Re: Dagnabbit! So now I've got to learn XHTML, Doctypes AND CSS?! UURRRGH!!! 2014/08/29 14:35:37 (permalink)
    Well that is definitely a point score for CSS. Thanks for the info, guys.
    #23
    soens
    Max Output Level: -23.5 dBFS
    • Total Posts : 5154
    • Joined: 2005/09/16 03:19:55
    • Location: Location: Location
    • Status: offline
    Re: Dagnabbit! So now I've got to learn XHTML, Doctypes AND CSS?! UURRRGH!!! 2014/08/29 15:41:05 (permalink)
    craigb
    Basically, I'm just doing a lot of scratching for very little scratch. 



    #24
    gswitz
    Max Output Level: -18.5 dBFS
    • Total Posts : 5694
    • Joined: 2007/06/16 07:17:14
    • Location: Richmond Virginia USA
    • Status: offline
    Re: Dagnabbit! So now I've got to learn XHTML, Doctypes AND CSS?! UURRRGH!!! 2014/08/29 16:17:43 (permalink)
    Css3 does use extra resources on the client machine in exchange for less bandwidth for both parties. This is especially true when coupled with something like bootstrap.js.

    I find bootstrap very helpful for using css3.
    post edited by gswitz - 2014/08/29 16:21:57

    StudioCat > I use Windows 10 and Sonar Platinum. I have a touch screen.
    I make some videos. This one shows how to do a physical loopback on the RME UCX to get many more equalizer nodes.
    #25
    Beepster
    Max Output Level: 0 dBFS
    • Total Posts : 18001
    • Joined: 2012/05/11 19:11:24
    • Status: offline
    Re: Dagnabbit! So now I've got to learn XHTML, Doctypes AND CSS?! UURRRGH!!! 2014/08/31 12:34:49 (permalink)
    Thanks, Geoff (sorry for the late reply... been immersed in all this). I haven't touched CSS3 yet but now after a day or so of "studying" I have a basic understanding of CSS and how it relates to HTML (and now understand HTML/XHTML better). Still annoying that I have to learn a whole new thing (CSS) but I can definitely see how it's useful.
     
    If anyone is curious after poking around at a bunch of confusing vids and websites this is the video that has made it click:
     
    https://www.youtube.com/watch?v=BxUv_n3T7n0
     
    It is almost 5 hours long and the guy is kind of a clownwad but it is extremely thorough (as far as basics) and the little bits of comic relief certainly made it far less dry than it could have been.
     
    Between that and these two references...
     
    http://www.w3schools.com/tags/ref_byfunc.asp
     
    http://www.w3schools.com/cssref/default.asp
     
    as well as the related tuts/articles on that site I think I should be able to do 99% of what I need to at the moment.
     
    One thing however that is annoying me is even though I can change my bulk layout or formatting by tweaking a CSS file it doesn't seem like I can change bulk content.
     
    For example:
     
    1) Let's say I want to have a banner area for ads. I don't want Javascript or to just have google tossing up whatever the frack they want. I want to just have it as a space where a sponsor can give me X amount of dollars and then I post a link/image directly into my code that leads to their site. It should subvert adblockers, not cause viruses or stupidness, I can control the content (so I'm not leading viewers to a company I don't like or putting up ads that look ugly), etc...
     
    I just want to be able to paste an image link up there and have it show up on all my pages. If the sponsor changes or updates their graphics or whatever I can just strip out the old code and toss in new code and it will appear on all the appropriate pages.
     
    2) If I have headers, sidebars and footers where I have navigation links that I want to have appear on every page so people can get around easily I'd like to be able to update those as the site grows. Like when I first start I'll only have five main links in those areas but as it grows and I create new areas I end up with a dozen links I'd like to again simply strip out the code for those elements (like the sidebar for example) and replace it with the new code without doing it for every page.
     
    Now I'm hoping that this can be done WITHOUT using anything beyond HTML and CSS. Like maybe those banners, headers and sidebars could simply have a code that points to it's own little page (just like an external CSS page would work) and then the data from that one page loads into those areas on all pages of the site. Kind of like a webpage within a webpage I guess.
     
    Is that just more advanced usage of CSS/HTML or am I stuck with either using other programs/languages (Java, PHP, whatever) or simply stuck as in I have to change nothing or everything manually a page at a time?
     
    Hope that makes sense... and yeah, I shouldn't be asking you guys to teach me webdesign but it seems like we've got some experienced dudes here and it's on my mind so would like to know if that's possible and if not what exactly I should be looking at next to accomplish it.
     
    So far that little dilemma is the 1% out of the 99% that HTML/CSS does not seem to cover at the moment and it's making my OCD go all wiggy. lol
     
    Cheers and thanks for all the insights so far even if this doesn't garner any more attention. I'm sure I'll figure it all out eventually.
    #26
    Beepster
    Max Output Level: 0 dBFS
    • Total Posts : 18001
    • Joined: 2012/05/11 19:11:24
    • Status: offline
    Re: Dagnabbit! So now I've got to learn XHTML, Doctypes AND CSS?! UURRRGH!!! 2014/08/31 13:20:15 (permalink)
    Oh and another nice thing about that vid is the guy uses Notepad++
     
    I had heard of it and seen it recommended (and have had it recommended to me personally) many times but to me I was just "Meh... I'd rather be a stubborn dillwad and makes things harder for myself so I learn the HARD way!!!"
     
    Now that I see how it works and how it allows collapsing of tags and stuff I gotta say I think that would be far more helpful for even learning purposes... never mind the convenience.
     
    It'll also be an excuse to install and try out Wine on Linux because it is MS only. I know there are similar Linux based programs and I may try them but I'll probably be doing this stuff on both Windows and Linux systems so might as well use something that will work on both (which the Linux ones won't unless I use and set up a virtual PC which I'm not interested in for this). I figure I can use a flash drive to store my work on, make sure I have the installer for Notepad++ on it then I can just work from/save to that flash drive on whatever system I want (installing NP++ as needed) and then back up the flash drive every so often.
     
    Just thinking out loud. Cheers.
    #27
    dubdisciple
    Max Output Level: -17 dBFS
    • Total Posts : 5849
    • Joined: 2008/01/29 00:31:46
    • Location: Seattle, Wa
    • Status: offline
    Re: Dagnabbit! So now I've got to learn XHTML, Doctypes AND CSS?! UURRRGH!!! 2014/08/31 16:01:46 (permalink)
    Beepster. It sounds like what you would like falls outside the bounds of xhtml and css. Maybe someone knows a workaround using just those two, but ifbit were me and I wanted to have dynamically changing banners and such, I would go with some scripting and database based solution. This just takes the idea of seperating content data from layout another step. With today's large constantly changing websites, having to constantly alter HTML manually would be next to impossible. Building the sight based on a procedural semantic system would allow you to create sections like footers and headers and still use something like php to alter the content as needed.
    #28
    sharke
    Max Output Level: 0 dBFS
    • Total Posts : 13933
    • Joined: 2012/08/03 00:13:00
    • Location: NYC
    • Status: offline
    Re: Dagnabbit! So now I've got to learn XHTML, Doctypes AND CSS?! UURRRGH!!! 2014/08/31 16:09:43 (permalink)
    In the case of the banner ads, you can encapsulate the ad into a CSS style which can apply to every page. When you get into this you'll see that there are HTML tags called "div" which basically define an area on the screen for whatever purpose. In the CSS, you can apply a class or an ID to these div's which specifies the image file to be used as the background. So when you need to replace an old banner with a new one, it's simply a matter of changing the image file name in the CSS style. I'm not sure if you can specify the link in the CSS as well, it's been a while since I've worked with it, but I'm sure someone else can tell you how to go about this.
     
    As for the navigation links, well you have a number of options. One way of doing it would be to use a simple PHP script - PHP is actually quite simple and you can learn how to incorporate it into a web page or a day or two. Even if you don't want to learn the language then you can learn how to incorporate ready made scripts into your pages. Some years ago I wanted to include a Wordpress blog on my site (i.e. install Wordpress on the server and style it all to fit my website design rather than use a Wordpress template) and found that I had to learn a little PHP to do it. It was actually quite simple - PHP isn't that much harder than HTML or CSS and you don't have to learn the whole language to make use of it.
     
    But there is an even easier way - use the search and replace function in Notepad++. You can paste the old navigation menu HTML into the "search" field and then paste the new navigation HTML into the "replace" field. Notepad++ will then go through every page in your site and replace the old links with the new links. It's easy, you'll work it out in no time.

    James
    Windows 10, Sonar SPlat (64-bit), Intel i7-4930K, 32GB RAM, RME Babyface, AKAI MPK Mini, Roland A-800 Pro, Focusrite VRM Box, Komplete 10 Ultimate, 2012 American Telecaster!
    #29
    Beepster
    Max Output Level: 0 dBFS
    • Total Posts : 18001
    • Joined: 2012/05/11 19:11:24
    • Status: offline
    Re: Dagnabbit! So now I've got to learn XHTML, Doctypes AND CSS?! UURRRGH!!! 2014/08/31 16:26:03 (permalink)
    Thanks, guys. I'm not opposed to learning other stuff (even Javascript which I hate) and will do it. I guess at the moment I figure as I try stuff out in HTML and CSS I'll be doing mock ups of what I actually want to go live. I would hate to create something that is really cool that I want to use, get excited and actually use it for a bunch of pages THEN find out that I need those other languages. If it's totally impossible then I'd hold of for a bit and learn those other things first before even starting to play around.
     
    However if notepad++ can actually scour and bulk replace material in multiple docs like that somehow then that is REALLY cool and pretty much solves the problem. I'll have to test it out of course. I never would have known if you hadn't mentioned it.
     
    Thanks again, guys.
    #30
    Page: 12 > Showing page 1 of 2
    Jump to:
    © 2025 APG vNext Commercial Version 5.1