开发者

got bigg diff compare to print view and browser view

开发者 https://www.devze.com 2023-02-02 16:08 出处:网络
<divstyle=\"z-index:1000px; position:absolute; bottom:180px; left:60PX; width:500px;%\" > In side this div i have message,
<div  style="z-index:1000px; position:absolute; bottom:180px; left:60PX; width:500px;%" >

In side this div i have message,

Text displaying fine in print开发者_开发问答 view,(in top center place, my expected place)

but in the browser view the text displaying the below of the browser ,

i want to make it equal on print view as well as browser ,

How to do that


your code corrected, 2 problems

  • There was a % misplaced within the style attribute
  • z-index requires an integer value, but was appended with 'px' which makes it a string value [invalid]

<div style="z-index:1000; position:absolute; bottom:180px; left:60px; width:500px;" >
0

精彩评论

暂无评论...
验证码 换一张
取 消