473,396 Members | 1,671 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Make jsp/html page visually apealing...Help needed

Sl1ver
196 100+
Im creating jsp pages in netbeans 6.5 no frameworks just plain jsp pages

Anyone got advice on how i can atleast make the html part of the jsp look visually appealing?
Aug 26 '10 #1
6 2567
chaarmann
785 Expert 512MB
Don't make it "visually appealing", make it userfriendly, quick and functional instead. (Unless it's an advertisement page for a game).
In this case, you can use:
- a lot of flash-objects (with progress bars)
- trailing mouse-cursors
- marquees
- colorful high-resolution background-graphics for each html-element
- background music
- newly designed GUI-elements for buttons, menus and overlays (which looks nice, but are ugly to use and have unexpected side-effects).
- blinking overlays.
- scanned texts as animated GIFs with 3D-effect and twisted lines and rotating letters (so handicapped users, like e.g. blind people with braille-decoder, stay away from your site)
- half-page letters with low color contrast, alpha-blending and fading into background CSS-effects ("What? You can't read the whole word, because you only have 800x600 resolution and only 16-bit colors? Then stay away from my side instead of complaining! Get yourself a modern desktop computer and flat screen! What, you surf from a mobile phone or netbook? Ummm... well, I can't check my page on every browser and every device for looking nice, so go away!)

I hope you got the point.
Aug 26 '10 #2
Sl1ver
196 100+
i get the point, what im looking for though is like a plug in or something to visually design the webpage because essentially now im designing the webpage just from the back end and i only know what it looks like once i run it
Aug 26 '10 #3
chaarmann
785 Expert 512MB
Our group went through painful mistakes during my 8 years of leading web developer. So don't use FrontPage or its kind as visual editor. Also don't use MS-Word and export the word-document as html-page! The biggest drawback is that the generated webpage has directly embedded, proprietary stylesheets, is many times bigger as it should be, chaotic composed and no maintenance possible.
You are currently going the right way: designing it from back end with a clear structure and keep it graphically simple. Make it as xhtml and run it through the w3c-markup validation service, there should be no errors. Don't use css-like-tags and parameters like <center>, <font> <img> <.. width=...> etc. Especially put all CSS-attributes and Javascripts in files and put a link inside the document to that file. Use prototype, jquery or some other javascript-framework to overcome browser-incompatibility.

After that there should be no need to change the HTML itself, only change the javascript (*.js) and *.css-files! For quick working, save your html-page from browser to your local drive. While saving, the browser will change the links in your html-page of your *.js and *.css files to point to your local directory and put them there. So re-open this page in your browser. Now you can load these *.js and *.css files into an editor and change them around (but don't change the html itself!). After ever change, you can just press F5 in your browser to see the change immediately. After you are done with your beautification, you can copy these *.js and *.css files back to your server.

You have the choice: a quick, dirty page with a visual editor or a slower-to-make clean page by hand. (That means for a beginner. I know CSS and JS so well that I can do it faster by hand then with a visual editor).
Just imagine your boss comes one day and tells you to align the text-headers on all webpages to the left instead of middle and change the letter color of brand names from blue to red, because of a new corporate design or anniversary or legal issues. If you have used frontPage to develop all your more than 100 pages, you will need many days to change them one by one in your visual editor, doing a tedious and error-prone task. But for me it's done within a few seconds: In my general css-file which is used for all pages I change only 2 lines: "h1 {text-align:center}" to "h1 {text-align:left}", and ".brandName {color=blue}" to ".brandName {color=red}". In my HTML I have all brand names surrouded with <span class=brandName>. Tell me, which editor can do that?
Aug 27 '10 #4
Sl1ver
196 100+
thats very indepth, thanx for the advice. ill probably use your advice when thinking designing more webpages or sites
Aug 27 '10 #5
Frinavale
9,735 Expert Mod 8TB
@chaarmann: while I agree with your advice about not using something like Word or FrontPage to develop that front end...don't fully agree with you about making it xhtml.

Internet Explorer (a browser that is used by a large population of online users) does not support XHTML (see the W3C article on HTML and XHTML Frequently Answered Questions).

I learned about this pitfall one day when I got excited about XHTML and tried to convert an ASP.NET application to use it.......hehe my bad!

Anyways, I tend to approach things from the back-end and the develop the UI based on the what the back-end objects require. Add the HTML elements that are required to gather/display the object's fields/properties/members...Use <div> elements to group together things that should be grouped together.

Once you have a very basic, bare-bones, grouping of controls required to retrieve/display the information, apply CSS to your page.

You should constantly be validating your page markup against the w3c validator feature. This will help you to develop a website that is standards compliant so that it is displayed the same way in almost all browsers. Once you have a fully validated website, go back and test in Internet Explorer (you will have to add some invalid CSS to get the page to look right in this browser)

:)

Check out w3schools.com for quick CSS tutorials.

Check out alistapart.com for more in depth articles on css and website design.

My favorite CSS website has to be csszengarden.com :)

-Frinny
Aug 27 '10 #6
chaarmann
785 Expert 512MB
@Frinavale: You are most probably right about using XHTML. I am still in the XHTML-excited-phase and have not stepped into a pitfall so far. But on the second thought it's better for a beginner to stay with HTML until Internet Explorer fully supports XHTML, having less trouble with developing workarounds.
Aug 30 '10 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: vishal | last post by:
i am creating a news site. i am adding new news in database and it must be visible to user at top. and then second latest news and so on. i am displaying 15 news on each page and then put a link...
12
by: Kevin Lyons | last post by:
Hello, I am trying to get my select options (courses) passed correctly from the following URL: http://www.dslextreme.com/users/kevinlyons/selectBoxes.html I am having difficulty getting the...
2
by: contactabbas | last post by:
Hi Gurus, How can I make an HTML page NOT to be included in window.history()? My requirement : Suppose the user navigates from : Page A --> Page B --> Page C and presses a browser "Back" btn...
2
by: Steve K | last post by:
I got a bit of a problem I like some help on. I'm designing an online training module for people that work in food processing plants. This is my target audience. These workers have little or no...
6
by: scottyman | last post by:
I can't make this script work properly. I've gone as far as I can with it and the rest is out of my ability. I can do some html editing but I'm lost in the Java world. The script at the bottom of...
4
by: Etantonio | last post by:
Good morning, I have a static html page where I want to load image that day to day are in a different path, to achieve this I would want that the link point to a c# page where I create...
17
by: =?Utf-8?B?Y2F0aGFyaW51cyB2YW4gZGVyIHdlcmY=?= | last post by:
Hello, I have build a website with approximately 30 html-pages. When I search this website in Google, I see the index.html or home.html on this website, but also other html-pages on this...
3
by: chopperuk | last post by:
Hi just a quick one, for a project I am completing, I need to bascially, have a form on a web site (where a user types in a question), this then, needs to question a chat bot (programE - ALICE), and...
6
by: vasu1308 | last post by:
Hi I would like to know how to remove tags in a HTML page. Can anyone help me.. Thanks Vasu
10
by: paulie | last post by:
Hi, I have been experiencing an issue when trying to use AJAX to reload a DIV area using a timer of 2000ms, which contains a html page with another DIV and javascript. Scenario -------------...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.