| Author |
want to remove this hardcoding Ie  
|
J radolf
Ranch Hand
Joined: Jan 08, 2009
Posts: 121
|
|
so can i move this   and write it somewhere. so that it can be just called instead of writing in several places??
[edited to escape nbsp]
|
 |
J radolf
Ranch Hand
Joined: Jan 08, 2009
Posts: 121
|
|
There are lots of spaces(nbsp) in line 3
i dont want to hardcode it everywhere . i want to keep it as a separate model so that we can use it elsewhere??
anybody with ideas?
|
 |
Jeanne Boyarsky
internet detective
Marshal
Joined: May 26, 2003
Posts: 26144
|
|
|
It depends on why you need the spaces. If they are for presentation, you could use css instead of . If it is part of the text name, you could import it in a JSP (if it is a dynamic page) or write it out using JavaScript if not.
|
[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
|
 |
J radolf
Ranch Hand
Joined: Jan 08, 2009
Posts: 121
|
|
Thanks for your Reply
its for presentation purpose
actually its for a menu.
so we have a menu
say File when you click file
i have in submenu
Read >
Write >
so the space(nbsp) i used inside <a> Read nbsp nbsp gt </end of a Tag>
|
 |
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15357
|
|
Learn about CSS's margins and padding
Eric
|
 |
J radolf
Ranch Hand
Joined: Jan 08, 2009
Posts: 121
|
|
|
Hi Please can anyone paste a small css sample code.
|
 |
J radolf
Ranch Hand
Joined: Jan 08, 2009
Posts: 121
|
|
i have added the following css file.
is there any way i can add gt symbol from html to css ??
i want to keep it in a separate css so am asking this question
|
 |
J radolf
Ranch Hand
Joined: Jan 08, 2009
Posts: 121
|
|
is there any way in css alone where i can adjust the space because pre element will have to adjusted in html for spaces.
is there any way i can adjust in css alone like can i make a independent css which wil take care of the spacing?
|
 |
J radolf
Ranch Hand
Joined: Jan 08, 2009
Posts: 121
|
|
now how can i represent these whitespaces in a separate css?
please give me some sample code.
|
 |
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15357
|
|
Eric
|
 |
 |
|
|
subject: want to remove this hardcoding Ie  
|
|
|