Resolution Screen for a Menu
Questions about XML that are not covered by the other forums should go here.
-
- Posts: 1
- Joined: Wed Jun 17, 2015 12:21 am
Resolution Screen for a Menu
I have the following code for a Menu and if the site is open in screen with a different screen resolution the Menu doesn't adapt to the screen resolution because the padding is defined in pixels.
How could I do to define in % or any other way to have my menu adapting to the screen resolution?
Thank you very much
How could I do to define in % or any other way to have my menu adapting to the screen resolution?
Thank you very much
Code: Select all
<Module>
<ModulePrefs />
<Content type="html">
<![CDATA[
<!DOCTYPE html>
<base target="_parent">
<style type="text/css">
body {margin:0; padding:0; margin-top:0px}
table {border-collapse:collapse;}
table, td {padding:0; border:1px solid #094FA4;}
a {display:block; background-color:#094FA4; padding:18px 25px; text-decoration:none; outline:none;}
a:hover, a:focus {background-color:#063062;}
</style>
<table>
<tr>
<td><a href=""><font color="white">Home</font></a></td>
<td><a href=""><font color="white">Section1</font></a></td>
</tr>
</table>
]]>
</Content>
</Module>
-
- Posts: 2879
- Joined: Tue May 17, 2005 4:01 pm
Re: Resolution Screen for a Menu
Hi,
You will probably find better assistance for HTML problems on specialized forums or discussion lists.
Regards,
Adrian
You will probably find better assistance for HTML problems on specialized forums or discussion lists.
Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Return to “General XML Questions”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service